Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_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.45/2.45, 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.001147/0.001147, allocations: 202.6 kB / 0.4902 GB, free: 2.25 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.622/1.622, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0009684/0.0009683, allocations: 91.16 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 11.08 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.4688, allocations: 150.4 MB / 1.376 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4691, allocations: 83.94 kB / 1.376 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005081/0.4742, allocations: 1.639 MB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4743, allocations: 4 kB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.4743, allocations: 0 / 1.378 GB, free: 13.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008034/0.4751, allocations: 492.5 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4752, allocations: 12.03 kB / 1.378 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.4752, allocations: 42.55 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.4753, allocations: 15.75 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4755, allocations: 198.8 kB / 1.379 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4756, allocations: 12 kB / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.4756, allocations: 8 kB / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.4761, allocations: 209.5 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4762, allocations: 0 / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.4762, allocations: 8 kB / 1.379 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4762, allocations: 0 / 1.379 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.4769, allocations: 263.8 kB / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.4778, allocations: 428.6 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.4783, allocations: 198.5 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.4783, allocations: 0 / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4783, allocations: 34.56 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4783, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.00153/0.4799, allocations: 0.5458 MB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.48, allocations: 81.11 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4801, allocations: 132.9 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4801, allocations: 25.7 kB / 1.38 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.4802, allocations: 100.1 kB / 1.381 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.4803, allocations: 27.64 kB / 1.381 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.4803, allocations: 8 kB / 1.381 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4804, allocations: 314.8 kB / 1.381 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.4808, allocations: 155.9 kB / 1.381 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.4812, allocations: 151.9 kB / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.4816, allocations: 149.6 kB / 1.381 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4816, allocations: 0 / 1.381 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008998/0.4825, allocations: 391.4 kB / 1.382 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.4826, allocations: 41.69 kB / 1.382 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.4826, allocations: 4.172 kB / 1.382 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4826, allocations: 3.938 kB / 1.382 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.4829, allocations: 51.95 kB / 1.382 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4829, allocations: 3.953 kB / 1.382 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.4832, allocations: 55.94 kB / 1.382 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4832, allocations: 8 kB / 1.382 GB, free: 8.676 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: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001427/0.4833, allocations: 144.3 kB / 1.382 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.4834, allocations: 11.91 kB / 1.382 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.4834, allocations: 24.7 kB / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4834, allocations: 0 / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4834, allocations: 0 / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4834, allocations: 3.953 kB / 1.382 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.4837, allocations: 205.6 kB / 1.382 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4837, allocations: 0 / 1.382 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.484, allocations: 59.83 kB / 1.382 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.484, allocations: 0 / 1.382 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.484, allocations: 8 kB / 1.382 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.484, allocations: 0 / 1.382 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.484, allocations: 0 / 1.382 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.485, allocations: 0.4891 MB / 1.383 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.485, allocations: 84.95 kB / 1.383 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.4851, allocations: 4 kB / 1.383 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.4854, allocations: 59.94 kB / 1.383 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.4855, allocations: 75.89 kB / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4856, allocations: 8 kB / 1.383 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.073e-05/0.4856, allocations: 113.1 kB / 1.383 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4857, allocations: 0 / 1.383 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002478/0.4859, allocations: 24 kB / 1.383 GB, free: 7.273 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: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001362/0.4873, allocations: 1.03 MB / 1.384 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009573/0.4882, allocations: 403.3 kB / 1.385 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4883, allocations: 0 / 1.385 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.4888, allocations: 255.2 kB / 1.385 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.489, allocations: 15.98 kB / 1.385 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.4914, allocations: 1.211 MB / 1.386 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.4917, allocations: 0.7004 MB / 1.387 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.625e-05/0.4918, allocations: 20.16 kB / 1.387 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.4918, allocations: 19.44 kB / 1.387 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.4918, allocations: 0 / 1.387 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.506, allocations: 3.324 MB / 1.39 GB, free: 392 kB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.5063, allocations: 210.3 kB / 1.39 GB, free: 148 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.21, allocations: 0 / 1.39 GB, free: 148 kB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat does not exist to compare? outputFormat=mat