Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001124/0.001124, allocations: 192.7 kB / 487.4 MB, free: 5.055 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.482/1.482, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009653, allocations: 93.58 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.17e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9018/1.17, allocations: 148.9 MB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.17, allocations: 89.56 kB / 1.352 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005574/1.176, allocations: 1.617 MB / 1.353 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.883e-06/1.176, allocations: 0 / 1.353 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.176, allocations: 0 / 1.353 GB, free: 33.76 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006877/1.176, allocations: 485.7 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.177, allocations: 12.28 kB / 1.354 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/1.177, allocations: 18.55 kB / 1.354 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/1.177, allocations: 198.9 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/1.177, allocations: 6.609 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/1.177, allocations: 6.922 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001965/1.177, allocations: 83.75 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/1.177, allocations: 123.5 kB / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.177, allocations: 0 / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/1.177, allocations: 7.75 kB / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.177, allocations: 0 / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/1.178, allocations: 409.9 kB / 1.354 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.178, allocations: 105 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/1.178, allocations: 95.67 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/1.178, allocations: 0.6562 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.178, allocations: 38.41 kB / 1.355 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/1.178, allocations: 0 / 1.355 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003451/1.179, allocations: 178.1 kB / 1.355 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/1.179, allocations: 90.08 kB / 1.355 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/1.179, allocations: 125.8 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/1.179, allocations: 29.64 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/1.179, allocations: 101.9 kB / 1.355 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/1.179, allocations: 24.7 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/1.179, allocations: 0 / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.179, allocations: 325.3 kB / 1.355 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/1.179, allocations: 67.75 kB / 1.356 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/1.179, allocations: 66.94 kB / 1.356 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/1.179, allocations: 26.41 kB / 1.356 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.179, allocations: 0 / 1.356 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002285/1.18, allocations: 190.8 kB / 1.356 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/1.18, allocations: 34.83 kB / 1.356 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.18, allocations: 0 / 1.356 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.18, allocations: 0.75 kB / 1.356 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/1.18, allocations: 50.8 kB / 1.356 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.18, allocations: 0 / 1.356 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/1.18, allocations: 59.97 kB / 1.356 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/1.18, allocations: 3.875 kB / 1.356 GB, free: 32.02 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.0001031/1.18, allocations: 138.8 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002749/1.181, allocations: 193.2 kB / 1.356 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/1.181, allocations: 15.66 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/1.181, allocations: 9.5 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.181, allocations: 3.844 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.181, allocations: 0.6562 kB / 1.356 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.181, allocations: 11.89 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.181, allocations: 185.3 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.181, allocations: 1.75 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/1.181, allocations: 47.5 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.181, allocations: 4 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.181, allocations: 3.5 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.181, allocations: 3.875 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.181, allocations: 1.453 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/1.181, allocations: 283 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/1.182, allocations: 89.41 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/1.182, allocations: 0.5625 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/1.182, allocations: 60.84 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/1.182, allocations: 74.91 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.182, allocations: 12.41 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.451e-05/1.182, allocations: 108 kB / 1.357 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.182, allocations: 0 / 1.357 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002232/1.182, allocations: 23.19 kB / 1.357 GB, free: 31.33 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.000627/1.183, allocations: 0.8189 MB / 1.358 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002617/1.183, allocations: 229.8 kB / 1.358 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.183, allocations: 4 kB / 1.358 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/1.183, allocations: 157.7 kB / 1.358 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/1.184, allocations: 13.25 kB / 1.358 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/1.184, allocations: 314.2 kB / 1.359 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/1.185, allocations: 0.705 MB / 1.359 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.005e-05/1.185, allocations: 13.22 kB / 1.359 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/1.185, allocations: 27.7 kB / 1.359 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.185, allocations: 0 / 1.359 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/1.209, allocations: 2.866 MB / 1.362 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.209, allocations: 175.8 kB / 1.362 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.759, allocations: 2.625 kB / 1.362 GB, free: 29.31 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat does not exist to compare? outputFormat=mat