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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.434/2.434, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 183.9 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 223.1 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 94.67 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 7.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.5273, allocations: 153 MB / 1.379 GB, free: 472 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5276, allocations: 79.95 kB / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.5472, allocations: 6.767 MB / 1.385 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.378e-06/0.5473, allocations: 0 / 1.385 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.327e-05/0.5473, allocations: 3.938 kB / 1.385 GB, free: 9.582 MB / 0.8855 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.0009936/0.5483, allocations: 0.5175 MB / 1.386 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.895e-05/0.5484, allocations: 8.562 kB / 1.386 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.5485, allocations: 42.55 kB / 1.386 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.5486, allocations: 23.81 kB / 1.386 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.5492, allocations: 247.5 kB / 1.386 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.5492, allocations: 7.984 kB / 1.386 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.5493, allocations: 16 kB / 1.386 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.5495, allocations: 76.62 kB / 1.386 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5495, allocations: 0 / 1.386 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.5495, allocations: 11.94 kB / 1.386 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.5495, allocations: 7.938 kB / 1.386 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.5497, allocations: 39.92 kB / 1.386 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.5505, allocations: 452.5 kB / 1.387 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.5507, allocations: 66.56 kB / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.5507, allocations: 3.984 kB / 1.387 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.5509, allocations: 95.42 kB / 1.387 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.5509, allocations: 0 / 1.387 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0003402/0.5512, allocations: 129.4 kB / 1.387 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.5513, allocations: 51.41 kB / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.5515, allocations: 174.2 kB / 1.387 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.5516, allocations: 33.7 kB / 1.387 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.5517, allocations: 116.1 kB / 1.387 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.5517, allocations: 27.7 kB / 1.387 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.5518, allocations: 4 kB / 1.387 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.552, allocations: 334.8 kB / 1.388 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.552, allocations: 20 kB / 1.388 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.5523, allocations: 115.7 kB / 1.388 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.5524, allocations: 33.5 kB / 1.388 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.5524, allocations: 7.891 kB / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002246/0.5526, allocations: 133.4 kB / 1.388 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5526, allocations: 8 kB / 1.388 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.5526, allocations: 4 kB / 1.388 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5527, allocations: 0 / 1.388 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.5528, allocations: 23.92 kB / 1.388 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5528, allocations: 0 / 1.388 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.553, allocations: 19.89 kB / 1.388 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.553, allocations: 8.125 kB / 1.388 GB, free: 6.508 MB / 0.8855 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.5532, allocations: 138.5 kB / 1.388 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.5532, allocations: 19.77 kB / 1.388 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.5532, allocations: 21.39 kB / 1.388 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.5532, allocations: 0 / 1.388 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5533, allocations: 0 / 1.388 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5533, allocations: 4 kB / 1.388 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.5538, allocations: 438.2 kB / 1.389 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5538, allocations: 0 / 1.389 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.5538, allocations: 7.984 kB / 1.389 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5539, allocations: 0 / 1.389 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5539, allocations: 0 / 1.389 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5539, allocations: 0 / 1.389 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5539, allocations: 0 / 1.389 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.5541, allocations: 211.2 kB / 1.389 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.5542, allocations: 92.91 kB / 1.389 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.5542, allocations: 11.94 kB / 1.389 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.5543, allocations: 7.984 kB / 1.389 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.5544, allocations: 15.98 kB / 1.389 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.5544, allocations: 4 kB / 1.389 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001078/0.5545, allocations: 132.1 kB / 1.389 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5545, allocations: 4 kB / 1.389 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002904/0.5548, allocations: 40 kB / 1.389 GB, free: 5.285 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008857/0.5557, allocations: 0.8186 MB / 1.39 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.5559, allocations: 79.84 kB / 1.39 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5559, allocations: 0 / 1.39 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.556, allocations: 40.19 kB / 1.39 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.5564, allocations: 41.89 kB / 1.39 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.5575, allocations: 1.142 MB / 1.391 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.5579, allocations: 0.7166 MB / 1.392 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.932e-05/0.558, allocations: 25.48 kB / 1.392 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.5581, allocations: 47.41 kB / 1.392 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5581, allocations: 0 / 1.392 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.5751, allocations: 4.454 MB / 1.396 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.5753, allocations: 246 kB / 1.397 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.353, allocations: 0 / 1.397 GB, free: 13.77 MB / 0.9011 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat does not exist to compare? outputFormat=mat