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.203/2.203, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001166/0.001166, allocations: 184.8 kB / 496.1 MB, free: 12.85 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.621/1.621, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001079/0.001079, allocations: 87.95 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.232e-05/5.243e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9398/1.268, allocations: 150.4 MB / 1.366 GB, free: 3.637 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.268, allocations: 90.05 kB / 1.366 GB, free: 3.582 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00495/1.273, allocations: 1.637 MB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.482e-06/1.273, allocations: 0 / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.274, allocations: 0 / 1.367 GB, free: 2.098 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008352/1.274, allocations: 479.5 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.274, allocations: 8.031 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/1.274, allocations: 37.88 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/1.275, allocations: 16.69 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/1.275, allocations: 202.1 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/1.275, allocations: 8.844 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/1.275, allocations: 7.188 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/1.275, allocations: 128.2 kB / 1.368 GB, free: 1.176 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.275, allocations: 4 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.275, allocations: 0 / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.275, allocations: 4 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/1.275, allocations: 86.23 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/1.276, allocations: 439 kB / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/1.276, allocations: 108.1 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/1.276, allocations: 101.1 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/1.276, allocations: 0 / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/1.276, allocations: 34.5 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/1.276, allocations: 0 / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0003709/1.277, allocations: 232.2 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/1.277, allocations: 89.09 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/1.277, allocations: 127.9 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/1.277, allocations: 29.7 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/1.277, allocations: 97.75 kB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/1.277, allocations: 22.84 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/1.277, allocations: 11.62 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.277, allocations: 318.7 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/1.277, allocations: 65.48 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.557e-05/1.277, allocations: 72.8 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/1.278, allocations: 59.56 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.278, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002809/1.278, allocations: 226.5 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/1.278, allocations: 36.64 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.278, allocations: 0 / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.278, allocations: 0 / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/1.278, allocations: 59.89 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.278, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/1.278, allocations: 58.69 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/1.278, allocations: 4 kB / 1.37 GB, free: 15.09 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: 1 (numReq1.y) * Number of discrete 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.0001074/1.279, allocations: 137.6 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/1.279, allocations: 11.89 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/1.279, allocations: 19.73 kB / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.279, allocations: 0 / 1.371 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.279, allocations: 3.953 kB / 1.371 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.279, allocations: 4 kB / 1.371 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/1.279, allocations: 215.9 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.279, allocations: 0 / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/1.279, allocations: 43.95 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.279, allocations: 4 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/1.279, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.279, allocations: 8.188 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.279, allocations: 0 / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/1.279, allocations: 336.7 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/1.28, allocations: 81.02 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/1.28, allocations: 6.875 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/1.28, allocations: 55.94 kB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.28, allocations: 80.77 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.28, allocations: 4 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.098e-05/1.28, allocations: 117 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.5e-07/1.28, allocations: 0 / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002275/1.28, allocations: 35.77 kB / 1.372 GB, free: 13.96 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: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * 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.0006297/1.281, allocations: 0.8574 MB / 1.372 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002962/1.281, allocations: 227.9 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.281, allocations: 0 / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/1.282, allocations: 169.3 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/1.282, allocations: 24.17 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/1.282, allocations: 313.4 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/1.283, allocations: 0.7043 MB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.813e-05/1.283, allocations: 16.17 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/1.283, allocations: 28.92 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.283, allocations: 0 / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/1.298, allocations: 3.334 MB / 1.377 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/1.298, allocations: 182.4 kB / 1.377 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.894, allocations: 2.031 kB / 1.377 GB, free: 8.352 MB / 0.8386 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