Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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 1.967/1.967, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.0009693/0.0009693, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.221/1.221, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0007854/0.0007854, allocations: 95.89 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.393e-05/2.395e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1916, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6675/0.8591, allocations: 153.9 MB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.8594, allocations: 77.33 kB / 1.369 GB, free: 84 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01988/0.8793, allocations: 7.939 MB / 1.377 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8793, allocations: 4 kB / 1.377 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.8793, allocations: 4 kB / 1.377 GB, free: 9.383 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.0005751/0.8799, allocations: 0.5316 MB / 1.378 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.8799, allocations: 8.031 kB / 1.378 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.88, allocations: 42.31 kB / 1.378 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.88, allocations: 27.72 kB / 1.378 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.8805, allocations: 255.3 kB / 1.378 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.8805, allocations: 15.55 kB / 1.378 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.8805, allocations: 11.06 kB / 1.378 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.8807, allocations: 91.78 kB / 1.378 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.8807, allocations: 0 / 1.378 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.8807, allocations: 7.875 kB / 1.378 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8807, allocations: 0 / 1.378 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.8808, allocations: 47.73 kB / 1.378 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.8815, allocations: 477.2 kB / 1.378 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.8819, allocations: 159.3 kB / 1.379 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.882, allocations: 42.73 kB / 1.379 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.882, allocations: 224 / 1.379 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.8822, allocations: 109.3 kB / 1.379 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.8822, allocations: 4 kB / 1.379 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002198/0.8824, allocations: 124.9 kB / 1.379 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.8824, allocations: 58.34 kB / 1.379 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.8826, allocations: 172.7 kB / 1.379 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.8826, allocations: 31.77 kB / 1.379 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.8827, allocations: 124.3 kB / 1.379 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.8827, allocations: 30.17 kB / 1.379 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.8827, allocations: 7.312 kB / 1.379 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.8828, allocations: 334.1 kB / 1.38 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.8829, allocations: 33.75 kB / 1.38 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.883, allocations: 115.7 kB / 1.38 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.8831, allocations: 36.36 kB / 1.38 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8831, allocations: 0 / 1.38 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002021/0.8833, allocations: 156 kB / 1.38 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.8834, allocations: 5.562 kB / 1.38 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8834, allocations: 0 / 1.38 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.8834, allocations: 4 kB / 1.38 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.8835, allocations: 23.8 kB / 1.38 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8835, allocations: 128 / 1.38 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.8837, allocations: 31.83 kB / 1.38 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.8837, allocations: 11.94 kB / 1.38 GB, free: 6.387 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.649e-05/0.8838, allocations: 125.3 kB / 1.38 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.8838, allocations: 19.77 kB / 1.38 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.8838, allocations: 16.97 kB / 1.38 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.8838, allocations: 0 / 1.38 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.8839, allocations: 4 kB / 1.38 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8839, allocations: 3.984 kB / 1.38 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.8844, allocations: 0.494 MB / 1.381 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8844, allocations: 0 / 1.381 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.8845, allocations: 4 kB / 1.381 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8845, allocations: 0 / 1.381 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8845, allocations: 4 kB / 1.381 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8845, allocations: 3.938 kB / 1.381 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8845, allocations: 0 / 1.381 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.8847, allocations: 234.8 kB / 1.381 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.8847, allocations: 99.78 kB / 1.381 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.8848, allocations: 8 kB / 1.381 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.8849, allocations: 19.05 kB / 1.381 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.885, allocations: 23.16 kB / 1.381 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.885, allocations: 7.984 kB / 1.381 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.49e-05/0.8851, allocations: 141.8 kB / 1.381 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8851, allocations: 0 / 1.381 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002516/0.8853, allocations: 54.83 kB / 1.381 GB, free: 5.164 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.0006084/0.886, allocations: 0.8358 MB / 1.382 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.8862, allocations: 96.36 kB / 1.382 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8862, allocations: 0 / 1.382 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.8863, allocations: 52.5 kB / 1.382 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.8865, allocations: 47.67 kB / 1.382 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.8872, allocations: 285.7 kB / 1.382 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.8874, allocations: 0.7285 MB / 1.383 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.757e-05/0.8875, allocations: 21.53 kB / 1.383 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.8876, allocations: 52.05 kB / 1.383 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of SimCode: time 1.894e-06/0.8876, allocations: 0 / 1.383 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.9031, allocations: 5.015 MB / 1.388 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.9033, allocations: 219.3 kB / 1.388 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.591, allocations: 7.438 kB / 1.388 GB, free: 14.06 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat does not exist to compare? outputFormat=mat