Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001025, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 15.98 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7204, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003812/0.7243, allocations: 3.593 MB / 0.9574 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.7264, allocations: 1.023 MB / 0.9584 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.7268, allocations: 24.56 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.7271, allocations: 132.5 kB / 0.9585 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.7275, allocations: 88 kB / 0.9586 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.7279, allocations: 233 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007871/0.7287, allocations: 0.9718 MB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.7294, allocations: 475.2 kB / 0.9602 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.7296, allocations: 241 kB / 0.9605 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.7298, allocations: 298.5 kB / 0.9608 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.7299, allocations: 26.12 kB / 0.9608 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.675e-05/0.73, allocations: 30.12 kB / 0.9608 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.7301, allocations: 134.9 kB / 0.9609 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.7302, allocations: 174.1 kB / 0.9611 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.7309, allocations: 1.065 MB / 0.9621 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.7309, allocations: 1.094 kB / 0.9621 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7309, allocations: 0 / 0.9621 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.731, allocations: 0 / 0.9621 GB, free: 1.539 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001773/0.7327, allocations: 1.203 MB / 0.9633 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.7328, allocations: 8.406 kB / 0.9633 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.7329, allocations: 155.2 kB / 0.9635 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.7331, allocations: 123 kB / 0.9636 GB, free: 444 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.7338, allocations: 0.5555 MB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.7339, allocations: 74.28 kB / 0.9642 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.734, allocations: 97.41 kB / 0.9643 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.7356, allocations: 0.9127 MB / 0.9652 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.7356, allocations: 3.938 kB / 0.9652 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.7357, allocations: 45.58 kB / 0.9652 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.7358, allocations: 20.44 kB / 0.9653 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.7371, allocations: 0.6788 MB / 0.9659 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.7413, allocations: 2.879 MB / 0.9687 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7426, allocations: 0.7257 MB / 0.9694 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.7433, allocations: 416.3 kB / 0.9698 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.7434, allocations: 19.86 kB / 0.9699 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007318/0.7441, allocations: 367.3 kB / 0.9702 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 3.015e-06/0.7441, allocations: 0 / 0.9702 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.001757/0.7459, allocations: 0.8829 MB / 0.9711 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.746, allocations: 161.7 kB / 0.9712 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.7468, allocations: 0.593 MB / 0.9718 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.7468, allocations: 42.23 kB / 0.9718 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.7472, allocations: 437.6 kB / 0.9723 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.7474, allocations: 253.7 kB / 0.9725 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.7475, allocations: 15.06 kB / 0.9725 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.7477, allocations: 387.8 kB / 0.9729 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.7482, allocations: 254.9 kB / 0.9731 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.7488, allocations: 392.3 kB / 0.9735 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.7494, allocations: 289.6 kB / 0.9738 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7494, allocations: 1.125 kB / 0.9738 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001331/0.7507, allocations: 0.759 MB / 0.9745 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/0.7508, allocations: 127.4 kB / 0.9746 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7509, allocations: 1.5 kB / 0.9746 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7509, allocations: 4.688 kB / 0.9746 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.7515, allocations: 165.5 kB / 0.9748 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.7515, allocations: 11.38 kB / 0.9748 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.7519, allocations: 110.2 kB / 0.9749 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.752, allocations: 28.92 kB / 0.975 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.752, allocations: 4.219 kB / 0.975 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008392/0.7528, allocations: 0.5419 MB / 0.9755 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.7529, allocations: 1 kB / 0.9755 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.7529, allocations: 4.875 kB / 0.9755 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.7533, allocations: 138.4 kB / 0.9756 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7534, allocations: 8.016 kB / 0.9756 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.7536, allocations: 91.09 kB / 0.9757 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.7537, allocations: 24.16 kB / 0.9757 GB, free: 8.582 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.000412/0.7541, allocations: 304.7 kB / 0.976 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.7542, allocations: 74.69 kB / 0.9761 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.7544, allocations: 84.58 kB / 0.9762 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.7544, allocations: 7.812 kB / 0.9762 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.7544, allocations: 7.953 kB / 0.9762 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.7544, allocations: 7.969 kB / 0.9762 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.7569, allocations: 1.635 MB / 0.9778 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.7569, allocations: 3.984 kB / 0.9778 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.7575, allocations: 142.5 kB / 0.9779 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.7575, allocations: 4 kB / 0.9779 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.7575, allocations: 23.94 kB / 0.978 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.7575, allocations: 8 kB / 0.978 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.7576, allocations: 0 / 0.978 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.7593, allocations: 1.092 MB / 0.979 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.7594, allocations: 164 kB / 0.9792 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.7595, allocations: 12 kB / 0.9792 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.7598, allocations: 59.92 kB / 0.9793 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.7599, allocations: 44.62 kB / 0.9793 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.7599, allocations: 19.98 kB / 0.9793 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004734/0.7604, allocations: 415.1 kB / 0.9797 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7604, allocations: 0 / 0.9797 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007938/0.7612, allocations: 330.3 kB / 0.98 GB, free: 4.801 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002037/0.7633, allocations: 1.666 MB / 0.9817 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.7649, allocations: 0.9309 MB / 0.9826 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7649, allocations: 0 / 0.9826 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.7654, allocations: 332.1 kB / 0.9829 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.7662, allocations: 165.6 kB / 0.983 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/0.7732, allocations: 4.714 MB / 0.9877 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.7738, allocations: 0.9978 MB / 0.9886 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.7742, allocations: 93.52 kB / 0.9887 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.7746, allocations: 355.3 kB / 0.9891 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/0.7746, allocations: 0 / 0.9891 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.8041, allocations: 14.12 MB / 1.003 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.8043, allocations: 210.6 kB / 1.003 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.879, allocations: 7.125 kB / 1.003 GB, free: 13.3 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat