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.495/2.495, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.00148/0.001479, allocations: 184.3 kB / 492.3 MB, free: 0.6367 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.726/1.726, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001058/0.001058, allocations: 99.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.97e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3541, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.453, allocations: 149.6 MB / 1.359 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/1.454, allocations: 87.84 kB / 1.359 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005989/1.46, allocations: 1.634 MB / 1.36 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.155e-06/1.46, allocations: 3.938 kB / 1.36 GB, free: 34.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.46, allocations: 3.75 kB / 1.36 GB, free: 34.67 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.0006974/1.461, allocations: 476.3 kB / 1.361 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/1.461, allocations: 7.719 kB / 1.361 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/1.461, allocations: 39.16 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/1.461, allocations: 15.5 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/1.461, allocations: 197.4 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/1.461, allocations: 9.312 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.461, allocations: 10.88 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/1.461, allocations: 128.5 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.461, allocations: 3.984 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.462, allocations: 0 / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.462, allocations: 3.875 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/1.462, allocations: 89.28 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/1.463, allocations: 447.7 kB / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/1.463, allocations: 107.9 kB / 1.362 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/1.463, allocations: 96.31 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/1.463, allocations: 3.953 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.463, allocations: 34.5 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/1.463, allocations: 0 / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003669/1.463, allocations: 232 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/1.463, allocations: 84.39 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.463, allocations: 127.5 kB / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/1.463, allocations: 29.52 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/1.463, allocations: 97.55 kB / 1.362 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/1.464, allocations: 23.12 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/1.464, allocations: 0 / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/1.464, allocations: 325.1 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/1.464, allocations: 72.45 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/1.464, allocations: 71.88 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/1.464, allocations: 56.52 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.464, allocations: 0 / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002888/1.464, allocations: 223.5 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/1.464, allocations: 39.33 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.464, allocations: 0 / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.464, allocations: 3.969 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/1.465, allocations: 50.44 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.465, allocations: 7.859 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/1.465, allocations: 52.36 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/1.465, allocations: 3.875 kB / 1.363 GB, free: 32.76 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 8.763e-05/1.465, allocations: 142.8 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/1.465, allocations: 11.66 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/1.465, allocations: 13.23 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.465, allocations: 1.641 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.465, allocations: 7.844 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.465, allocations: 3.953 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/1.465, allocations: 211.3 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.465, allocations: 0 / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/1.465, allocations: 51.28 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.466, allocations: 4 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.466, allocations: 7.844 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.466, allocations: 0 / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.466, allocations: 0 / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/1.466, allocations: 331 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/1.466, allocations: 81.02 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/1.466, allocations: 7.594 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/1.466, allocations: 57.2 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.467, allocations: 77.47 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/1.467, allocations: 3.844 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.673e-05/1.467, allocations: 114.4 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.467, allocations: 0 / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002133/1.467, allocations: 26.69 kB / 1.364 GB, free: 32.05 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.0005962/1.467, allocations: 0.8642 MB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003214/1.468, allocations: 228.8 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.468, allocations: 4 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/1.468, allocations: 170.1 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/1.468, allocations: 15.55 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/1.469, allocations: 317.1 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/1.469, allocations: 0.7045 MB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.678e-05/1.469, allocations: 14.25 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/1.469, allocations: 21.78 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.469, allocations: 0 / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/1.486, allocations: 3.343 MB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.487, allocations: 171.7 kB / 1.37 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/3.329, allocations: 3.125 kB / 1.37 GB, free: 29.9 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