Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.013/2.013, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.0009789/0.0009789, allocations: 188.1 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.3 MB / 0.7915 GB, free: 5.344 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.0007715/0.0007715, allocations: 83.84 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.41e-05, allocations: 11.94 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.19, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6565/0.8465, allocations: 154 MB / 1.369 GB, free: 44 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.8467, allocations: 79.02 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02084/0.8676, allocations: 8.535 MB / 1.378 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8676, allocations: 0 / 1.378 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.8676, allocations: 4 kB / 1.378 GB, free: 8.812 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005651/0.8682, allocations: 0.5304 MB / 1.378 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.8682, allocations: 12.03 kB / 1.378 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.8683, allocations: 41.3 kB / 1.378 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.8683, allocations: 27.66 kB / 1.378 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.8688, allocations: 259.8 kB / 1.378 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.8688, allocations: 11.25 kB / 1.378 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.8689, allocations: 15.5 kB / 1.378 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.869, allocations: 95.77 kB / 1.379 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.869, allocations: 3.938 kB / 1.379 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.8691, allocations: 3.938 kB / 1.379 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8691, allocations: 4 kB / 1.379 GB, free: 7.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.8692, allocations: 45.17 kB / 1.379 GB, free: 7.734 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.8698, allocations: 466.7 kB / 1.379 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.8703, allocations: 157.2 kB / 1.379 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.8703, allocations: 34.31 kB / 1.379 GB, free: 7.125 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.8703, allocations: 7.938 kB / 1.379 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.8705, allocations: 105 kB / 1.379 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.8705, allocations: 0 / 1.379 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002365/0.8707, allocations: 127.4 kB / 1.379 GB, free: 6.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.8708, allocations: 62.59 kB / 1.38 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.8709, allocations: 175.2 kB / 1.38 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.871, allocations: 33.52 kB / 1.38 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.871, allocations: 115 kB / 1.38 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.8711, allocations: 42.84 kB / 1.38 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.8711, allocations: 3.75 kB / 1.38 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.8712, allocations: 326.1 kB / 1.38 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.8713, allocations: 31.31 kB / 1.38 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.8714, allocations: 128.3 kB / 1.38 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.8715, allocations: 35.11 kB / 1.38 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8715, allocations: 4 kB / 1.38 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001988/0.8717, allocations: 152.8 kB / 1.381 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.8717, allocations: 4 kB / 1.381 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8717, allocations: 7.984 kB / 1.381 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8718, allocations: 0 / 1.381 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.8718, allocations: 15.94 kB / 1.381 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8718, allocations: 7.984 kB / 1.381 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.872, allocations: 31.64 kB / 1.381 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.8721, allocations: 4 kB / 1.381 GB, free: 5.812 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$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,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 7.987e-05/0.8722, allocations: 125.9 kB / 1.381 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.8722, allocations: 19.77 kB / 1.381 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.8722, allocations: 24.52 kB / 1.381 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8722, allocations: 4 kB / 1.381 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.8723, allocations: 0 / 1.381 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.8723, allocations: 0 / 1.381 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.8728, allocations: 0.4893 MB / 1.381 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8728, allocations: 0 / 1.381 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.8729, allocations: 11.98 kB / 1.381 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8729, allocations: 3.938 kB / 1.381 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.8729, allocations: 3.938 kB / 1.381 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8729, allocations: 0 / 1.381 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8729, allocations: 4 kB / 1.381 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.8731, allocations: 233.5 kB / 1.382 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.8732, allocations: 92.61 kB / 1.382 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.8732, allocations: 0 / 1.382 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.8733, allocations: 31.22 kB / 1.382 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.8734, allocations: 19.09 kB / 1.382 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.8734, allocations: 8 kB / 1.382 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.92e-05/0.8735, allocations: 144.7 kB / 1.382 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8735, allocations: 0 / 1.382 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002554/0.8738, allocations: 54.78 kB / 1.382 GB, free: 4.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007605/0.8746, allocations: 0.8448 MB / 1.383 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.8748, allocations: 92.94 kB / 1.383 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8748, allocations: 0 / 1.383 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.8749, allocations: 54.55 kB / 1.383 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.8752, allocations: 47.62 kB / 1.383 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.8758, allocations: 247 kB / 1.383 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8761, allocations: 0.7285 MB / 1.384 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.8761, allocations: 21.55 kB / 1.384 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.8762, allocations: 62.41 kB / 1.384 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of SimCode: time 1.563e-06/0.8762, allocations: 0 / 1.384 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.8922, allocations: 5.013 MB / 1.389 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.8924, allocations: 235.5 kB / 1.389 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.606, allocations: 0 / 1.389 GB, free: 13.52 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat does not exist to compare? outputFormat=mat