Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.0008986/0.0008986, allocations: 183.1 kB / 492.3 MB, free: 0.6094 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.432/1.432, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008955/0.0008955, allocations: 97.98 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.68e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2882, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8748/1.163, allocations: 150.1 MB / 1.359 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/1.163, allocations: 70.91 kB / 1.359 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00528/1.169, allocations: 1.541 MB / 1.361 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.795e-06/1.169, allocations: 0 / 1.361 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.169, allocations: 5.375 kB / 1.361 GB, free: 34.56 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004807/1.169, allocations: 439.5 kB / 1.361 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.169, allocations: 7.656 kB / 1.361 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/1.169, allocations: 37.94 kB / 1.361 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/1.169, allocations: 7.812 kB / 1.361 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/1.17, allocations: 195 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.17, allocations: 3.906 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/1.17, allocations: 4.094 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/1.17, allocations: 110 kB / 1.361 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.17, allocations: 0 / 1.361 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.17, allocations: 0 / 1.361 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.17, allocations: 3.781 kB / 1.361 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.17, allocations: 51.17 kB / 1.361 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/1.17, allocations: 340.6 kB / 1.362 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/1.171, allocations: 76.81 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/1.171, allocations: 53.67 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/1.171, allocations: 0 / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/1.171, allocations: 106.1 kB / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/1.171, allocations: 0 / 1.362 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003099/1.171, allocations: 189.9 kB / 1.362 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/1.171, allocations: 89.55 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/1.171, allocations: 114.6 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/1.171, allocations: 29.39 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/1.171, allocations: 98.02 kB / 1.363 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/1.171, allocations: 17.06 kB / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/1.171, allocations: 6.906 kB / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/1.172, allocations: 316.1 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/1.172, allocations: 52.61 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/1.172, allocations: 46.98 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/1.172, allocations: 79.27 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.172, allocations: 0 / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002449/1.172, allocations: 228.2 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/1.172, allocations: 60.27 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.172, allocations: 0 / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.172, allocations: 0 / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/1.172, allocations: 23.39 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.172, allocations: 7.953 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/1.172, allocations: 30.08 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/1.172, allocations: 8.031 kB / 1.363 GB, free: 32.55 MB / 0.8386 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 () * 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 8.769e-05/1.172, allocations: 140.5 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/1.173, allocations: 13.08 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/1.173, allocations: 18.36 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.173, allocations: 0 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.173, allocations: 96 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.173, allocations: 11.73 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/1.173, allocations: 185.2 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/1.173, allocations: 3.906 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/1.173, allocations: 20.45 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.173, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/1.173, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.173, allocations: 3.812 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.173, allocations: 5.406 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/1.173, allocations: 209.8 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/1.173, allocations: 86.27 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/1.173, allocations: 7.25 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/1.173, allocations: 30.44 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.173, allocations: 38.2 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/1.173, allocations: 1.688 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.258e-05/1.173, allocations: 104.6 kB / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.174, allocations: 0 / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001889/1.174, allocations: 27.16 kB / 1.364 GB, free: 31.9 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * 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.0004548/1.174, allocations: 0.7549 MB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002523/1.174, allocations: 228.4 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.174, allocations: 0 / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.175, allocations: 122.6 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/1.175, allocations: 14.91 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/1.175, allocations: 185.9 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/1.175, allocations: 0.6979 MB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.184e-05/1.175, allocations: 7.359 kB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/1.176, allocations: 19.52 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.176, allocations: 0 / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/1.188, allocations: 2.498 MB / 1.369 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/1.188, allocations: 165.5 kB / 1.369 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.717, allocations: 0 / 1.369 GB, free: 29.74 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat does not exist to compare? outputFormat=mat