Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.191/2.191, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001319/0.00132, allocations: 182.8 kB / 0.4901 GB, free: 2.227 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.481/1.481, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001447/0.001446, allocations: 92.16 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004984, allocations: 7.219 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3216, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.5401, allocations: 151 MB / 1.377 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5404, allocations: 71.97 kB / 1.377 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004977/0.5454, allocations: 1.556 MB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5454, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5454, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005989/0.546, allocations: 454.4 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5461, allocations: 8.562 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.5461, allocations: 38.56 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.5462, allocations: 19.84 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.5464, allocations: 179.2 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5464, allocations: 8 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.5464, allocations: 8 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.5468, allocations: 121.6 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.5468, allocations: 0 / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.5468, allocations: 4 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5468, allocations: 3.938 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.5471, allocations: 103.9 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.5477, allocations: 352.5 kB / 1.38 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.548, allocations: 122.5 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.548, allocations: 0 / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.5483, allocations: 129.3 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5483, allocations: 4 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0007355/0.5491, allocations: 307 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.5492, allocations: 89.09 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5493, allocations: 113 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.5493, allocations: 33.7 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.5494, allocations: 96.03 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5494, allocations: 15.81 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.5494, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5495, allocations: 322.8 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.5497, allocations: 75.95 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.5499, allocations: 67.95 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.5501, allocations: 119.3 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5501, allocations: 3.984 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005129/0.5507, allocations: 264.9 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.856e-05/0.5507, allocations: 71.39 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5508, allocations: 0 / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5508, allocations: 0 / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.5509, allocations: 19.94 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5509, allocations: 3.938 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.5511, allocations: 36.16 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5511, allocations: 12 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001317/0.5513, allocations: 151.6 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.5513, allocations: 11.84 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.5513, allocations: 12.38 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5513, allocations: 0 / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5514, allocations: 3.953 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5514, allocations: 3.938 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.5515, allocations: 193.7 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5515, allocations: 4 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.5516, allocations: 15.98 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5516, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.5517, allocations: 8 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5517, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5517, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.5522, allocations: 266.5 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.5523, allocations: 85 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.5523, allocations: 4 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.5524, allocations: 31.97 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5526, allocations: 35.95 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5526, allocations: 4 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.5527, allocations: 101.9 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5527, allocations: 0 / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002191/0.5529, allocations: 27.95 kB / 1.382 GB, free: 12.36 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0008115/0.5537, allocations: 0.8023 MB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.5542, allocations: 278.7 kB / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5542, allocations: 0 / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.5545, allocations: 143.4 kB / 1.383 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.5547, allocations: 12.86 kB / 1.383 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.5562, allocations: 0.8007 MB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.5564, allocations: 0.6965 MB / 1.385 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.65e-05/0.5565, allocations: 12.17 kB / 1.385 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.5566, allocations: 19.42 kB / 1.385 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5566, allocations: 3.938 kB / 1.385 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.5712, allocations: 2.481 MB / 1.387 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.5714, allocations: 194.1 kB / 1.388 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.174, allocations: 0 / 1.388 GB, free: 6.871 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat does not exist to compare? outputFormat=mat