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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008053/0.0008053, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004861/0.004861, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.294/2.294, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002965, allocations: 8 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5123, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004008/0.5163, allocations: 3.894 MB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.519, allocations: 1.527 MB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.5196, allocations: 35.81 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.52, allocations: 118.9 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006933/0.5207, allocations: 186.7 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.5219, allocations: 0.6092 MB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.5231, allocations: 1.148 MB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/0.5238, allocations: 476.2 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/0.5242, allocations: 353.9 kB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.5247, allocations: 353.5 kB / 1.032 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.381e-05/0.5248, allocations: 28 kB / 1.032 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.5248, allocations: 24 kB / 1.032 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.525, allocations: 139.1 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.5253, allocations: 418.7 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.526, allocations: 1.014 MB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.526, allocations: 0 / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.526, allocations: 0 / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.595e-05/0.5261, allocations: 4 kB / 1.033 GB, free: 5.504 MB / 0.7794 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.001982/0.528, allocations: 1.239 MB / 1.034 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5281, allocations: 12.03 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.5282, allocations: 110.7 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.5284, allocations: 127.4 kB / 1.035 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5295, allocations: 0.7352 MB / 1.035 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.5296, allocations: 84.27 kB / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.5297, allocations: 68.38 kB / 1.035 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.5309, allocations: 0.7367 MB / 1.036 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5309, allocations: 0 / 1.036 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.5309, allocations: 35.98 kB / 1.036 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.531, allocations: 16 kB / 1.036 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.532, allocations: 0.5321 MB / 1.037 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.5351, allocations: 2.286 MB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.5364, allocations: 0.6375 MB / 1.04 GB, free: 14.67 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.5369, allocations: 285.7 kB / 1.04 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.5369, allocations: 12.55 kB / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/0.5376, allocations: 331 kB / 1.04 GB, free: 14.05 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 3.286e-06/0.5376, allocations: 3.938 kB / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.0015/0.5391, allocations: 0.7712 MB / 1.041 GB, free: 13.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.5391, allocations: 89.59 kB / 1.041 GB, free: 13.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/0.5399, allocations: 0.7556 MB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.54, allocations: 37.7 kB / 1.042 GB, free: 12.35 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5403, allocations: 436.5 kB / 1.042 GB, free: 11.92 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.5405, allocations: 212.9 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.5405, allocations: 61.69 kB / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.5406, allocations: 330 kB / 1.043 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.5411, allocations: 205.2 kB / 1.043 GB, free: 11.11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.5416, allocations: 316.4 kB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.5425, allocations: 0.5114 MB / 1.044 GB, free: 10.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5425, allocations: 0 / 1.044 GB, free: 10.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001169/0.5437, allocations: 0.6697 MB / 1.044 GB, free: 9.555 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.5438, allocations: 155 kB / 1.045 GB, free: 9.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5438, allocations: 4 kB / 1.045 GB, free: 9.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5439, allocations: 7.938 kB / 1.045 GB, free: 9.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.5445, allocations: 151.8 kB / 1.045 GB, free: 9.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5445, allocations: 4 kB / 1.045 GB, free: 9.199 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.5449, allocations: 79.27 kB / 1.045 GB, free: 9.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.5449, allocations: 23.98 kB / 1.045 GB, free: 9.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-06/0.5449, allocations: 4 kB / 1.045 GB, free: 9.094 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009547/0.5459, allocations: 0.5284 MB / 1.045 GB, free: 8.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5459, allocations: 4 kB / 1.045 GB, free: 8.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.5459, allocations: 4 kB / 1.045 GB, free: 8.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.5465, allocations: 143.8 kB / 1.046 GB, free: 8.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5465, allocations: 8.234 kB / 1.046 GB, free: 8.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.5469, allocations: 63.52 kB / 1.046 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.5469, allocations: 20 kB / 1.046 GB, free: 8.332 MB / 0.795 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.0002873/0.5472, allocations: 297.5 kB / 1.046 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5473, allocations: 94.78 kB / 1.046 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.5475, allocations: 105.2 kB / 1.046 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5475, allocations: 15.94 kB / 1.046 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5476, allocations: 0 / 1.046 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5476, allocations: 7.922 kB / 1.046 GB, free: 7.805 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.5496, allocations: 1.45 MB / 1.048 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5496, allocations: 0 / 1.048 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.5501, allocations: 103.9 kB / 1.048 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.5502, allocations: 15.94 kB / 1.048 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.5502, allocations: 12 kB / 1.048 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5502, allocations: 0 / 1.048 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5502, allocations: 0 / 1.048 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.5518, allocations: 0.9821 MB / 1.049 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.5521, allocations: 227.7 kB / 1.049 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.5521, allocations: 19.98 kB / 1.049 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.5526, allocations: 36.06 kB / 1.049 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.5527, allocations: 40.5 kB / 1.049 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.5527, allocations: 19.98 kB / 1.049 GB, free: 4.812 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005705/0.5533, allocations: 0.5146 MB / 1.049 GB, free: 4.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5533, allocations: 4 kB / 1.049 GB, free: 4.301 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006369/0.5539, allocations: 275 kB / 1.05 GB, free: 4.031 MB / 0.795 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.001836/0.5558, allocations: 1.547 MB / 1.051 GB, free: 2.453 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.5573, allocations: 0.8036 MB / 1.052 GB, free: 1.652 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5573, allocations: 0 / 1.052 GB, free: 1.652 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.5578, allocations: 279.7 kB / 1.052 GB, free: 1.379 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.5589, allocations: 234.8 kB / 1.053 GB, free: 1.148 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009404/0.5683, allocations: 7.352 MB / 1.06 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.5688, allocations: 0.9901 MB / 1.061 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004521/0.5692, allocations: 118.8 kB / 1.061 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.5697, allocations: 347.3 kB / 1.061 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of SimCode: time 1.513e-06/0.5697, allocations: 0 / 1.061 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.5977, allocations: 16.41 MB / 1.077 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.5979, allocations: 194.9 kB / 1.077 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.525, allocations: 0 / 1.077 GB, free: 7.598 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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