Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Validation_LimPIDReset",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.004393/0.004392, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001066/0.001066, allocations: 190.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.84 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7137, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005576/0.7193, allocations: 4.339 MB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003167/0.7225, allocations: 1.582 MB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.7232, allocations: 35.81 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.7238, allocations: 166.2 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007642/0.7246, allocations: 243.2 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.7259, allocations: 0.6664 MB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.727, allocations: 1.222 MB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.7277, allocations: 0.504 MB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005054/0.7282, allocations: 477.9 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.7286, allocations: 465.4 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.7288, allocations: 104 kB / 1.176 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.7289, allocations: 100 kB / 1.176 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.7291, allocations: 243 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003883/0.7295, allocations: 489 kB / 1.176 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.7307, allocations: 1.166 MB / 1.178 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7307, allocations: 0 / 1.178 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7307, allocations: 0 / 1.178 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.7307, allocations: 4 kB / 1.178 GB, free: 7.973 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002315/0.733, allocations: 1.425 MB / 1.179 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7331, allocations: 12.92 kB / 1.179 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.7332, allocations: 110.7 kB / 1.179 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.7334, allocations: 128.1 kB / 1.179 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.7346, allocations: 0.7673 MB / 1.18 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.7347, allocations: 88.25 kB / 1.18 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.854e-05/0.7348, allocations: 72.38 kB / 1.18 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.736, allocations: 0.7289 MB / 1.181 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.7361, allocations: 3.984 kB / 1.181 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.7361, allocations: 31.98 kB / 1.181 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.7361, allocations: 16 kB / 1.181 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.7372, allocations: 0.5204 MB / 1.181 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.7403, allocations: 2.248 MB / 1.184 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.7417, allocations: 0.6208 MB / 1.184 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.7422, allocations: 272.6 kB / 1.184 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.7423, allocations: 8.562 kB / 1.184 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006653/0.7429, allocations: 327 kB / 1.185 GB, free: 384 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 4.038e-06/0.743, allocations: 0 / 1.185 GB, free: 384 kB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.00157/0.7445, allocations: 0.7602 MB / 1.186 GB, free: 15.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.7446, allocations: 89.61 kB / 1.186 GB, free: 15.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.7454, allocations: 0.7556 MB / 1.186 GB, free: 14.74 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.7455, allocations: 37.7 kB / 1.186 GB, free: 14.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.7458, allocations: 441 kB / 1.187 GB, free: 14.26 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.7459, allocations: 218.1 kB / 1.187 GB, free: 14.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.7461, allocations: 110.3 kB / 1.187 GB, free: 13.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7462, allocations: 330 kB / 1.187 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.7467, allocations: 207.4 kB / 1.188 GB, free: 13.4 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.7472, allocations: 308.4 kB / 1.188 GB, free: 13.07 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009416/0.7482, allocations: 0.5074 MB / 1.188 GB, free: 12.53 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7482, allocations: 4 kB / 1.188 GB, free: 12.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001191/0.7494, allocations: 0.6545 MB / 1.189 GB, free: 11.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7494, allocations: 8 kB / 1.189 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7494, allocations: 0 / 1.189 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7494, allocations: 8 kB / 1.189 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.7501, allocations: 143.8 kB / 1.189 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.7501, allocations: 11.88 kB / 1.189 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.7505, allocations: 79.72 kB / 1.189 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.7506, allocations: 20 kB / 1.189 GB, free: 11.6 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005841/0.7512, allocations: 357.4 kB / 1.19 GB, free: 11.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004979/0.7517, allocations: 288.5 kB / 1.19 GB, free: 10.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000873/0.7526, allocations: 491.7 kB / 1.19 GB, free: 10.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.7526, allocations: 0 / 1.19 GB, free: 10.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001128/0.7537, allocations: 0.6427 MB / 1.191 GB, free: 9.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.7537, allocations: 4 kB / 1.191 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7537, allocations: 4 kB / 1.191 GB, free: 9.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.7538, allocations: 4 kB / 1.191 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.7544, allocations: 144 kB / 1.191 GB, free: 9.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.7544, allocations: 11.92 kB / 1.191 GB, free: 9.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.7548, allocations: 63.59 kB / 1.191 GB, free: 9.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.7549, allocations: 16 kB / 1.191 GB, free: 9.527 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.755, allocations: 220.1 kB / 1.191 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.7552, allocations: 99.34 kB / 1.192 GB, free: 9.207 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.7553, allocations: 105.2 kB / 1.192 GB, free: 9.105 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.7554, allocations: 8 kB / 1.192 GB, free: 9.098 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.7554, allocations: 3.938 kB / 1.192 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.7554, allocations: 7.984 kB / 1.192 GB, free: 9.086 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.7575, allocations: 1.439 MB / 1.193 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7575, allocations: 3.938 kB / 1.193 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.7581, allocations: 99.88 kB / 1.193 GB, free: 7.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.7581, allocations: 4 kB / 1.193 GB, free: 7.484 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.7582, allocations: 12 kB / 1.193 GB, free: 7.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.7582, allocations: 0 / 1.193 GB, free: 7.473 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.7582, allocations: 11.92 kB / 1.193 GB, free: 7.461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.7599, allocations: 0.9679 MB / 1.194 GB, free: 6.477 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.7602, allocations: 224.2 kB / 1.194 GB, free: 6.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.7603, allocations: 16 kB / 1.194 GB, free: 6.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.7607, allocations: 31.95 kB / 1.194 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.7608, allocations: 40.52 kB / 1.194 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.7609, allocations: 19.98 kB / 1.194 GB, free: 6.133 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005987/0.7615, allocations: 0.5146 MB / 1.195 GB, free: 5.621 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7615, allocations: 3.938 kB / 1.195 GB, free: 5.617 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006867/0.7622, allocations: 275.3 kB / 1.195 GB, free: 5.348 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.7641, allocations: 1.531 MB / 1.197 GB, free: 3.785 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.7657, allocations: 0.7919 MB / 1.198 GB, free: 2.996 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7658, allocations: 0 / 1.198 GB, free: 2.996 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.7663, allocations: 271.1 kB / 1.198 GB, free: 2.73 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.7674, allocations: 268.5 kB / 1.198 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.7766, allocations: 6.572 MB / 1.204 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.7772, allocations: 0.9937 MB / 1.205 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004598/0.7776, allocations: 119 kB / 1.206 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.7781, allocations: 347.3 kB / 1.206 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.7781, allocations: 0 / 1.206 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.818, allocations: 17.48 MB / 1.223 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.281/10.1, allocations: 6.172 kB / 1.223 GB, free: 8.949 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches