Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 194.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.42 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3396, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003494/0.3431, allocations: 1.794 MB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3444, allocations: 0.6006 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3445, allocations: 4 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3448, allocations: 19.86 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.3452, allocations: 95.66 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.3456, allocations: 138.9 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.3459, allocations: 211.5 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.346, allocations: 33.47 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.3462, allocations: 95.69 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02081/0.367, allocations: 1.57 MB / 1.057 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-05/0.3671, allocations: 16 kB / 1.057 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3672, allocations: 32 kB / 1.057 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.3673, allocations: 43.77 kB / 1.057 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.3675, allocations: 75.64 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3678, allocations: 195.4 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3678, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3678, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.3678, allocations: 4 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007839/0.3686, allocations: 0.5178 MB / 1.058 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3687, allocations: 12.56 kB / 1.058 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.3687, allocations: 42.73 kB / 1.058 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.3688, allocations: 16.75 kB / 1.058 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3691, allocations: 243.6 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3691, allocations: 11.98 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3692, allocations: 12 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.3694, allocations: 77.67 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3694, allocations: 4 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3694, allocations: 7.922 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3694, allocations: 7.938 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.3695, allocations: 35.98 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.3703, allocations: 444.4 kB / 1.059 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3704, allocations: 74.48 kB / 1.059 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.3705, allocations: 24.86 kB / 1.059 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3705, allocations: 3.984 kB / 1.059 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.3707, allocations: 87.36 kB / 1.059 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3707, allocations: 4 kB / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0002894/0.371, allocations: 137.5 kB / 1.059 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.371, allocations: 55.41 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3712, allocations: 187 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.3712, allocations: 37.69 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.3713, allocations: 112 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3714, allocations: 23.8 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.3714, allocations: 53.67 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3716, allocations: 330.8 kB / 1.06 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.3716, allocations: 27.98 kB / 1.06 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3718, allocations: 114.5 kB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.372, allocations: 92.16 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.372, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002182/0.3722, allocations: 133 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3722, allocations: 11.94 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3722, allocations: 0 / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3722, allocations: 4.125 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.3723, allocations: 19.94 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3723, allocations: 7.984 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3725, allocations: 15.84 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3725, allocations: 8 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.3727, allocations: 137.8 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.3727, allocations: 19.75 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.3727, allocations: 21.41 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3728, allocations: 3.984 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3728, allocations: 4 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3728, allocations: 0 / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.3733, allocations: 430.6 kB / 1.061 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3733, allocations: 0 / 1.061 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.3733, allocations: 7.984 kB / 1.061 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3733, allocations: 0 / 1.061 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3733, allocations: 4 kB / 1.061 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3733, allocations: 3.938 kB / 1.061 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3734, allocations: 4 kB / 1.061 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3736, allocations: 215.2 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.3736, allocations: 88.95 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3737, allocations: 3.984 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.3738, allocations: 8 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.3739, allocations: 15.98 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.3739, allocations: 7.984 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001316/0.374, allocations: 136.1 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.374, allocations: 0 / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003243/0.3744, allocations: 39.89 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008125/0.3752, allocations: 0.799 MB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3755, allocations: 88.09 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3755, allocations: 0 / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.3755, allocations: 39.92 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.376, allocations: 49.55 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3782, allocations: 1.813 MB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3785, allocations: 0.7124 MB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.914e-05/0.3786, allocations: 17.55 kB / 1.065 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.3787, allocations: 47.41 kB / 1.065 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3787, allocations: 4 kB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.887/2.266, allocations: 4.797 MB / 1.069 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003681/2.267, allocations: 267.9 kB / 1.07 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/4.604, allocations: 4 kB / 1.07 GB, free: 7.055 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches