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 2.394/2.394, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.00142/0.00142, allocations: 180 kB / 0.4901 GB, free: 2.246 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.636/1.636, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.00121/0.00121, allocations: 94.44 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000514/0.0005139, allocations: 7.125 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3592, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.5516, allocations: 154 MB / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.552, allocations: 83.95 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02228/0.5743, allocations: 7.962 MB / 1.387 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.175e-06/0.5743, allocations: 3.938 kB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.5744, allocations: 4 kB / 1.387 GB, free: 7.422 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009272/0.5753, allocations: 0.5646 MB / 1.388 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5753, allocations: 8.031 kB / 1.388 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.5754, allocations: 38.56 kB / 1.388 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.5755, allocations: 19.75 kB / 1.388 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.5761, allocations: 266.4 kB / 1.388 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5762, allocations: 11.98 kB / 1.388 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.5762, allocations: 16 kB / 1.388 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.5765, allocations: 98.45 kB / 1.388 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5765, allocations: 0 / 1.388 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.5765, allocations: 0 / 1.388 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5765, allocations: 4 kB / 1.388 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.5766, allocations: 52.66 kB / 1.389 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.5775, allocations: 468.4 kB / 1.389 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.578, allocations: 158.8 kB / 1.389 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.578, allocations: 4 kB / 1.389 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.5782, allocations: 107.3 kB / 1.389 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.5782, allocations: 0 / 1.389 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0003522/0.5786, allocations: 165.3 kB / 1.389 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5787, allocations: 55.41 kB / 1.389 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.5788, allocations: 177.6 kB / 1.39 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.5789, allocations: 33.7 kB / 1.39 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.579, allocations: 120.6 kB / 1.39 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.579, allocations: 39.59 kB / 1.39 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.5791, allocations: 7.938 kB / 1.39 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5792, allocations: 330.8 kB / 1.39 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.5793, allocations: 32.36 kB / 1.39 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.5795, allocations: 117.9 kB / 1.39 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.5796, allocations: 45.95 kB / 1.39 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5796, allocations: 0 / 1.39 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002583/0.5799, allocations: 157.3 kB / 1.39 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5799, allocations: 7.938 kB / 1.39 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.5799, allocations: 4 kB / 1.39 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5799, allocations: 4.125 kB / 1.39 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.58, allocations: 19.98 kB / 1.39 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.58, allocations: 4 kB / 1.39 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.5802, allocations: 31.83 kB / 1.391 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.5803, allocations: 4 kB / 1.391 GB, free: 4.035 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: 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 () * Number of clocked 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 0.0001339/0.5804, allocations: 136.3 kB / 1.391 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.5804, allocations: 27.75 kB / 1.391 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.5805, allocations: 17.88 kB / 1.391 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5805, allocations: 4 kB / 1.391 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5805, allocations: 0 / 1.391 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5805, allocations: 3.938 kB / 1.391 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.5812, allocations: 0.5004 MB / 1.391 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5812, allocations: 0 / 1.391 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.5813, allocations: 7.938 kB / 1.391 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.5813, allocations: 0 / 1.391 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.5813, allocations: 8 kB / 1.391 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5813, allocations: 0 / 1.391 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5813, allocations: 0 / 1.391 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.5816, allocations: 231.3 kB / 1.391 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.5817, allocations: 100.8 kB / 1.392 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.5817, allocations: 0 / 1.392 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5818, allocations: 19.98 kB / 1.392 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.5819, allocations: 15.97 kB / 1.392 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.582, allocations: 15.98 kB / 1.392 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001229/0.5821, allocations: 144.2 kB / 1.392 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5821, allocations: 3.938 kB / 1.392 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003337/0.5824, allocations: 48 kB / 1.392 GB, free: 2.668 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: 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 () * Number of clocked 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.0008962/0.5833, allocations: 0.8414 MB / 1.393 GB, free: 1.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.5836, allocations: 104 kB / 1.393 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5836, allocations: 4.062 kB / 1.393 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.5838, allocations: 47.98 kB / 1.393 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.5842, allocations: 45.88 kB / 1.393 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.5855, allocations: 1.207 MB / 1.394 GB, free: 356 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5858, allocations: 0.7284 MB / 1.395 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.5859, allocations: 21.53 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.586, allocations: 55.41 kB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of SimCode: time 3.2e-07/0.5861, allocations: 0 / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.6057, allocations: 4.96 MB / 1.4 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.606, allocations: 251 kB / 1.4 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.387, allocations: 0 / 1.4 GB, free: 10.45 MB / 0.9011 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