Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.393/2.393, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001123/0.001123, allocations: 196.5 kB / 487.4 MB, free: 5.039 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.76/1.76, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009574/0.0009577, allocations: 111.6 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.594e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2623, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.181, allocations: 150.2 MB / 1.353 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/1.182, allocations: 76.98 kB / 1.353 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03156/1.213, allocations: 13.69 MB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/1.213, allocations: 4 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.094e-05/1.213, allocations: 23.34 kB / 1.366 GB, free: 33.07 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001416/1.215, allocations: 1.014 MB / 1.367 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.215, allocations: 7.594 kB / 1.367 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/1.215, allocations: 112.4 kB / 1.367 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/1.216, allocations: 0.5336 MB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/1.216, allocations: 30.53 kB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/1.216, allocations: 54.19 kB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007969/1.216, allocations: 496.6 kB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/1.218, allocations: 0.6886 MB / 1.369 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.218, allocations: 0 / 1.369 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/1.218, allocations: 7.922 kB / 1.369 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/1.218, allocations: 26.25 kB / 1.369 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/1.221, allocations: 2.444 MB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/1.222, allocations: 1.211 MB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/1.222, allocations: 337.8 kB / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/1.222, allocations: 8.531 kB / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/1.223, allocations: 294.5 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.254e-06/1.223, allocations: 0 / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000665/1.223, allocations: 0.49 MB / 1.374 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.223, allocations: 169.6 kB / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/1.224, allocations: 396.2 kB / 1.374 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/1.224, allocations: 25.7 kB / 1.374 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/1.224, allocations: 398.6 kB / 1.375 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.224, allocations: 250.2 kB / 1.375 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/1.224, allocations: 4 kB / 1.375 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.224, allocations: 373.5 kB / 1.375 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/1.224, allocations: 177.4 kB / 1.375 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/1.225, allocations: 277.3 kB / 1.376 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/1.225, allocations: 214.6 kB / 1.376 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.225, allocations: 0 / 1.376 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006318/1.226, allocations: 0.5388 MB / 1.376 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.192e-05/1.226, allocations: 186.2 kB / 1.377 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.226, allocations: 4.031 kB / 1.377 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.226, allocations: 3.844 kB / 1.377 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/1.226, allocations: 162.9 kB / 1.377 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.226, allocations: 3.844 kB / 1.377 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/1.227, allocations: 93.61 kB / 1.377 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.227, allocations: 26.11 kB / 1.377 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/1.227, allocations: 3.812 kB / 1.377 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005165/1.227, allocations: 431.6 kB / 1.377 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/1.227, allocations: 4.031 kB / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/1.227, allocations: 3.938 kB / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/1.228, allocations: 132.8 kB / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/1.228, allocations: 7.781 kB / 1.378 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/1.228, allocations: 63.33 kB / 1.378 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/1.228, allocations: 21.62 kB / 1.378 GB, free: 28.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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.0001246/1.228, allocations: 116.6 kB / 1.378 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005748/1.229, allocations: 0.4929 MB / 1.378 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/1.229, allocations: 69.78 kB / 1.378 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/1.23, allocations: 0.5079 MB / 1.379 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.23, allocations: 11.75 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.23, allocations: 3.75 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/1.23, allocations: 6.562 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/1.231, allocations: 1.474 MB / 1.38 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.231, allocations: 0 / 1.38 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/1.232, allocations: 149.8 kB / 1.38 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.232, allocations: 4.031 kB / 1.38 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/1.232, allocations: 7.844 kB / 1.38 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.232, allocations: 9.469 kB / 1.38 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.232, allocations: 3.781 kB / 1.38 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/1.233, allocations: 0.9825 MB / 1.381 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/1.233, allocations: 141.2 kB / 1.381 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/1.233, allocations: 13.98 kB / 1.381 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/1.233, allocations: 43.78 kB / 1.382 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/1.234, allocations: 52.56 kB / 1.382 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/1.234, allocations: 23.06 kB / 1.382 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003257/1.234, allocations: 307.7 kB / 1.382 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.234, allocations: 0 / 1.382 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000626/1.235, allocations: 275.1 kB / 1.382 GB, free: 27.31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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.001494/1.236, allocations: 1.952 MB / 1.384 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009031/1.237, allocations: 0.7504 MB / 1.385 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.237, allocations: 3.75 kB / 1.385 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/1.237, allocations: 259.4 kB / 1.385 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/1.238, allocations: 115.6 kB / 1.385 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/1.24, allocations: 1.279 MB / 1.386 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/1.24, allocations: 0.9994 MB / 1.387 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004007/1.241, allocations: 104.3 kB / 1.387 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/1.241, allocations: 325.8 kB / 1.388 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.241, allocations: 4 kB / 1.388 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/1.269, allocations: 12.76 MB / 1.4 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.27, allocations: 167 kB / 1.4 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/3.572, allocations: 0 / 1.4 GB, free: 18.21 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat does not exist to compare? outputFormat=mat