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.224/2.224, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001145/0.001145, allocations: 184.8 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.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0008702/0.0008703, allocations: 94.5 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.642e-05/6.66e-05, allocations: 6.578 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3445, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9711/1.316, allocations: 150.9 MB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/1.316, allocations: 71.81 kB / 1.366 GB, free: 3.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005207/1.321, allocations: 1.533 MB / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.128e-06/1.321, allocations: 7.938 kB / 1.368 GB, free: 1.738 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.321, allocations: 1.969 kB / 1.368 GB, free: 1.738 MB / 0.823 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.0006243/1.322, allocations: 437.2 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.322, allocations: 8.031 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/1.322, allocations: 34.56 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/1.322, allocations: 16.73 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/1.322, allocations: 198.6 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/1.322, allocations: 4 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/1.322, allocations: 11.25 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/1.323, allocations: 89.47 kB / 1.369 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.323, allocations: 3.938 kB / 1.369 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/1.323, allocations: 7.438 kB / 1.369 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.323, allocations: 0 / 1.369 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/1.323, allocations: 49.73 kB / 1.369 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/1.323, allocations: 343.6 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/1.324, allocations: 71.69 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.394e-05/1.324, allocations: 61.22 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/1.324, allocations: 4 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/1.324, allocations: 104.7 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/1.324, allocations: 0 / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0003584/1.324, allocations: 179.7 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/1.324, allocations: 88.98 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.324, allocations: 113.6 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/1.324, allocations: 29.7 kB / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/1.325, allocations: 102.8 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/1.325, allocations: 19.52 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/1.325, allocations: 3.938 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.325, allocations: 322.2 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/1.325, allocations: 42 kB / 1.37 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.582e-05/1.325, allocations: 50.11 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/1.325, allocations: 85.52 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.325, allocations: 0 / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003185/1.325, allocations: 228.6 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/1.325, allocations: 59.41 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.325, allocations: 4 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.325, allocations: 3.953 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/1.326, allocations: 23.28 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.326, allocations: 4 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/1.326, allocations: 27.89 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/1.326, allocations: 4 kB / 1.371 GB, free: 14.94 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 0.0001087/1.326, allocations: 149.6 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/1.326, allocations: 7.906 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/1.326, allocations: 8.25 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.326, allocations: 4 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.326, allocations: 3.953 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.326, allocations: 0 / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/1.326, allocations: 188 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.326, allocations: 4.062 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.371e-05/1.326, allocations: 27.23 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.326, allocations: 3.984 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.326, allocations: 0 / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.326, allocations: 4 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.326, allocations: 96 / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/1.327, allocations: 209.4 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/1.327, allocations: 87.66 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/1.327, allocations: 4 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/1.327, allocations: 27.23 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.327, allocations: 34.94 kB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.327, allocations: 4 kB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.17e-05/1.327, allocations: 105 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.327, allocations: 0 / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002096/1.327, allocations: 38.59 kB / 1.371 GB, free: 14.02 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.0005993/1.328, allocations: 0.7417 MB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002933/1.328, allocations: 224.9 kB / 1.372 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.328, allocations: 7.938 kB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/1.328, allocations: 119.4 kB / 1.372 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/1.329, allocations: 15.38 kB / 1.372 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/1.329, allocations: 183.8 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.329, allocations: 0.6965 MB / 1.373 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.963e-05/1.33, allocations: 8.172 kB / 1.373 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/1.33, allocations: 25.61 kB / 1.373 GB, free: 12 MB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/1.33, allocations: 4 kB / 1.373 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/1.343, allocations: 2.499 MB / 1.376 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/1.344, allocations: 169.1 kB / 1.376 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.963, allocations: 0 / 1.376 GB, free: 9.402 MB / 0.8386 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