Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.373/2.373, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001103/0.001103, allocations: 165.5 kB / 492.3 MB, free: 0.6211 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.68/1.68, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009569/0.0009573, allocations: 99.88 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.919e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9001/1.165, allocations: 151.2 MB / 1.36 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.165, allocations: 72.47 kB / 1.36 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02773/1.193, allocations: 10.8 MB / 1.371 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.472e-06/1.193, allocations: 4.188 kB / 1.371 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.637e-05/1.193, allocations: 11.66 kB / 1.371 GB, free: 34.16 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001449/1.195, allocations: 0.8138 MB / 1.372 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.195, allocations: 11.53 kB / 1.372 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/1.195, allocations: 90.78 kB / 1.372 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/1.195, allocations: 73.5 kB / 1.372 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/1.196, allocations: 405.2 kB / 1.372 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.196, allocations: 49.25 kB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/1.196, allocations: 61.12 kB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/1.197, allocations: 499.3 kB / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.197, allocations: 0 / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/1.197, allocations: 26.58 kB / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.197, allocations: 11.62 kB / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/1.197, allocations: 323.4 kB / 1.373 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/1.2, allocations: 1.711 MB / 1.375 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/1.201, allocations: 0.8489 MB / 1.376 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/1.202, allocations: 221.5 kB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/1.202, allocations: 4.312 kB / 1.376 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004965/1.202, allocations: 248 kB / 1.376 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 3.326e-06/1.202, allocations: 0 / 1.376 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=53): time 0.0008735/1.203, allocations: 398.5 kB / 1.376 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.203, allocations: 111 kB / 1.377 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/1.204, allocations: 356.3 kB / 1.377 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/1.204, allocations: 42.69 kB / 1.377 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/1.204, allocations: 262 kB / 1.377 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.204, allocations: 171.2 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/1.204, allocations: 16.22 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.204, allocations: 361.3 kB / 1.378 GB, free: 31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/1.205, allocations: 178 kB / 1.378 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/1.205, allocations: 276.6 kB / 1.378 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/1.206, allocations: 258 kB / 1.378 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.206, allocations: 3.844 kB / 1.378 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001277/1.207, allocations: 0.6084 MB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002801/1.208, allocations: 0.6711 MB / 1.38 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.208, allocations: 4 kB / 1.38 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.208, allocations: 3.969 kB / 1.38 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/1.208, allocations: 104.6 kB / 1.38 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.208, allocations: 3.844 kB / 1.38 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/1.209, allocations: 135.5 kB / 1.38 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/1.209, allocations: 25.05 kB / 1.38 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.209, allocations: 7.734 kB / 1.38 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001171/1.21, allocations: 0.562 MB / 1.38 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.21, allocations: 0 / 1.38 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/1.21, allocations: 7.719 kB / 1.38 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/1.211, allocations: 81 kB / 1.381 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.211, allocations: 10.41 kB / 1.381 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/1.212, allocations: 122.8 kB / 1.381 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/1.212, allocations: 26.31 kB / 1.381 GB, free: 29.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0002147/1.212, allocations: 136 kB / 1.381 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.212, allocations: 54.42 kB / 1.381 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009213/1.213, allocations: 427.4 kB / 1.381 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.213, allocations: 3.875 kB / 1.381 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.213, allocations: 4.141 kB / 1.381 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.213, allocations: 6.188 kB / 1.381 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/1.215, allocations: 1.179 MB / 1.382 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.215, allocations: 3.938 kB / 1.382 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/1.216, allocations: 92.05 kB / 1.383 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.216, allocations: 3.906 kB / 1.383 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/1.216, allocations: 18.33 kB / 1.383 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/1.216, allocations: 3.844 kB / 1.383 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.216, allocations: 8.125 kB / 1.383 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/1.217, allocations: 0.7877 MB / 1.383 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/1.217, allocations: 133.5 kB / 1.383 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/1.217, allocations: 11.66 kB / 1.383 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/1.218, allocations: 36.81 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.218, allocations: 37.98 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/1.218, allocations: 21.77 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004398/1.218, allocations: 276.4 kB / 1.384 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.01e-07/1.219, allocations: 0 / 1.384 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001169/1.22, allocations: 232.2 kB / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00191/1.222, allocations: 1.776 MB / 1.386 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001922/1.224, allocations: 0.9685 MB / 1.387 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.224, allocations: 0 / 1.387 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/1.224, allocations: 193.8 kB / 1.387 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008025/1.225, allocations: 89.94 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/1.227, allocations: 0.8745 MB / 1.388 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/1.227, allocations: 0.8756 MB / 1.389 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004502/1.228, allocations: 76.75 kB / 1.389 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.228, allocations: 193.9 kB / 1.389 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of SimCode: time 1.392e-06/1.228, allocations: 0 / 1.389 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/1.263, allocations: 11.65 MB / 1.4 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.263, allocations: 174.7 kB / 1.401 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/3.522, allocations: 2.812 kB / 1.401 GB, free: 20.11 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale_res.mat does not exist to compare? outputFormat=mat