Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_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.0008309/0.0008309, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005104/0.005104, allocations: 169.7 kB / 16.26 MB, free: 6.613 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002731, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.5311, allocations: 142.4 MB / 0.9552 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003072/0.5342, allocations: 3.893 MB / 0.959 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.536, allocations: 1.531 MB / 0.9605 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.5364, allocations: 38.28 kB / 0.9605 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.5366, allocations: 116.5 kB / 0.9606 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.5371, allocations: 178.6 kB / 0.9608 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009151/0.538, allocations: 0.6133 MB / 0.9614 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000805/0.5388, allocations: 1.141 MB / 0.9625 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.5394, allocations: 481.4 kB / 0.9629 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.5397, allocations: 356.6 kB / 0.9633 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.54, allocations: 357.9 kB / 0.9636 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.211e-05/0.54, allocations: 26.22 kB / 0.9637 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.5401, allocations: 26.31 kB / 0.9637 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.5402, allocations: 135.9 kB / 0.9638 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.5404, allocations: 423.4 kB / 0.9642 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.5411, allocations: 1.006 MB / 0.9652 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5411, allocations: 1.531 kB / 0.9652 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5411, allocations: 7.938 kB / 0.9652 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5411, allocations: 0 / 0.9652 GB, free: 15.84 MB / 0.7325 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.001894/0.543, allocations: 1.237 MB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.543, allocations: 9.406 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.5432, allocations: 111.8 kB / 0.9665 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.5433, allocations: 124.1 kB / 0.9666 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.5444, allocations: 0.7312 MB / 0.9674 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.5445, allocations: 87.3 kB / 0.9674 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.5446, allocations: 69.94 kB / 0.9675 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.5458, allocations: 0.7411 MB / 0.9682 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5458, allocations: 0 / 0.9682 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.5459, allocations: 35.81 kB / 0.9683 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.5459, allocations: 15.56 kB / 0.9683 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.547, allocations: 0.5263 MB / 0.9688 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.55, allocations: 2.296 MB / 0.971 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.5514, allocations: 0.6276 MB / 0.9716 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.5519, allocations: 285.5 kB / 0.9719 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.5519, allocations: 10.11 kB / 0.9719 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006193/0.5526, allocations: 328.6 kB / 0.9722 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 1.703e-06/0.5526, allocations: 4 kB / 0.9722 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.00154/0.5541, allocations: 0.7689 MB / 0.973 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.5542, allocations: 91.59 kB / 0.9731 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008206/0.555, allocations: 0.7546 MB / 0.9738 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.5551, allocations: 36.55 kB / 0.9739 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.5554, allocations: 437.1 kB / 0.9743 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.5555, allocations: 212.6 kB / 0.9745 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.5556, allocations: 63.28 kB / 0.9745 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5557, allocations: 326.4 kB / 0.9748 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.5562, allocations: 205.4 kB / 0.975 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.5567, allocations: 313.2 kB / 0.9753 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.5576, allocations: 0.5218 MB / 0.9759 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5576, allocations: 0 / 0.9759 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001169/0.5588, allocations: 0.668 MB / 0.9765 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/0.5589, allocations: 160.3 kB / 0.9767 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5589, allocations: 1.344 kB / 0.9767 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5589, allocations: 5.156 kB / 0.9767 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.5595, allocations: 157.2 kB / 0.9768 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5596, allocations: 8.344 kB / 0.9768 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.5599, allocations: 70.8 kB / 0.9769 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.56, allocations: 27.61 kB / 0.9769 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.56, allocations: 5.219 kB / 0.9769 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009577/0.561, allocations: 0.5251 MB / 0.9774 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.561, allocations: 2.562 kB / 0.9774 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.561, allocations: 5.375 kB / 0.9774 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.5615, allocations: 143.6 kB / 0.9776 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5616, allocations: 13.61 kB / 0.9776 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.5619, allocations: 61.83 kB / 0.9777 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/0.562, allocations: 22.75 kB / 0.9777 GB, free: 7.387 MB / 0.7325 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.000285/0.5623, allocations: 298.8 kB / 0.978 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5624, allocations: 95.47 kB / 0.978 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.5626, allocations: 105.5 kB / 0.9781 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5626, allocations: 5.375 kB / 0.9782 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5626, allocations: 1.438 kB / 0.9782 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.5626, allocations: 11.92 kB / 0.9782 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.5646, allocations: 1.455 MB / 0.9796 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5646, allocations: 0 / 0.9796 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.5651, allocations: 107.9 kB / 0.9797 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5651, allocations: 7.938 kB / 0.9797 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.5651, allocations: 12 kB / 0.9797 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5651, allocations: 0 / 0.9797 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5652, allocations: 4 kB / 0.9797 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.5667, allocations: 0.982 MB / 0.9807 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.567, allocations: 227.7 kB / 0.9809 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.5671, allocations: 15.98 kB / 0.9809 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.5675, allocations: 39.97 kB / 0.9809 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.5676, allocations: 32.52 kB / 0.981 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.5676, allocations: 19.98 kB / 0.981 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005458/0.5681, allocations: 0.5185 MB / 0.9815 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5682, allocations: 0 / 0.9815 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005994/0.5688, allocations: 275 kB / 0.9818 GB, free: 3.52 MB / 0.7325 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.00183/0.5706, allocations: 1.543 MB / 0.9833 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.572, allocations: 0.8036 MB / 0.9841 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.572, allocations: 0.625 kB / 0.9841 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.5725, allocations: 283.1 kB / 0.9843 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5736, allocations: 240.6 kB / 0.9846 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009186/0.5828, allocations: 7.346 MB / 0.9917 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.5833, allocations: 0.9901 MB / 0.9927 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004073/0.5837, allocations: 118.7 kB / 0.9928 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.5841, allocations: 347.3 kB / 0.9931 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.5841, allocations: 0 / 0.9931 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.652/3.236, allocations: 16.39 MB / 1.009 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/3.236, allocations: 202.6 kB / 1.009 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/5.584, allocations: 0 / 1.009 GB, free: 7.105 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches