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: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 195.5 kB / 16.53 MB, free: 6.672 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.601/2.601, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.606, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005642/0.6117, allocations: 4.323 MB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.6149, allocations: 1.582 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008293/0.6158, allocations: 35.81 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.6164, allocations: 170.2 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009462/0.6174, allocations: 222.1 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.619, allocations: 0.6705 MB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.6204, allocations: 1.214 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.6212, allocations: 0.5079 MB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.6218, allocations: 454 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.6223, allocations: 465.4 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.6226, allocations: 100 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.6227, allocations: 104 kB / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.623, allocations: 235.1 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.6235, allocations: 497 kB / 1.028 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.6246, allocations: 1.111 MB / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6246, allocations: 0 / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6246, allocations: 0 / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.985e-05/0.6246, allocations: 0 / 1.029 GB, free: 6.793 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.003191/0.6278, allocations: 1.403 MB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6279, allocations: 11.98 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.6281, allocations: 127.4 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.6294, allocations: 0.7198 MB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.018e-05/0.6295, allocations: 80.27 kB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.6296, allocations: 76.28 kB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.6309, allocations: 0.7329 MB / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.6309, allocations: 3.984 kB / 1.032 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.631, allocations: 28 kB / 1.032 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.631, allocations: 20 kB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.6322, allocations: 0.5087 MB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.6357, allocations: 2.282 MB / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.6371, allocations: 0.6078 MB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.6376, allocations: 286.3 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.6377, allocations: 12.55 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007218/0.6384, allocations: 319.1 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/0.6384, allocations: 0 / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.001661/0.6401, allocations: 0.7477 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.6402, allocations: 97.59 kB / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/0.641, allocations: 0.7555 MB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.6411, allocations: 33.7 kB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.6415, allocations: 440.5 kB / 1.038 GB, free: 13.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.6417, allocations: 208.9 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.6419, allocations: 106.3 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.642, allocations: 334 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.6425, allocations: 207.4 kB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.643, allocations: 300.5 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009591/0.644, allocations: 0.5113 MB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.644, allocations: 4 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001269/0.6453, allocations: 0.6539 MB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6453, allocations: 8.25 kB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6453, allocations: 4 kB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.6454, allocations: 4 kB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.646, allocations: 147.8 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.6461, allocations: 11.92 kB / 1.04 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.6465, allocations: 71.34 kB / 1.04 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.6466, allocations: 20 kB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006104/0.6472, allocations: 367.4 kB / 1.041 GB, free: 10.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004678/0.6477, allocations: 288.4 kB / 1.041 GB, free: 9.926 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008627/0.6485, allocations: 0.4917 MB / 1.041 GB, free: 9.406 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.6486, allocations: 0 / 1.041 GB, free: 9.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001143/0.6497, allocations: 0.6267 MB / 1.042 GB, free: 8.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6497, allocations: 8 kB / 1.042 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6497, allocations: 0 / 1.042 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.6497, allocations: 11.98 kB / 1.042 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.6503, allocations: 143.8 kB / 1.042 GB, free: 8.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6504, allocations: 11.94 kB / 1.042 GB, free: 8.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.6508, allocations: 55.77 kB / 1.042 GB, free: 8.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.6508, allocations: 23.98 kB / 1.042 GB, free: 8.52 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.0001924/0.651, allocations: 218.1 kB / 1.042 GB, free: 8.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.6511, allocations: 90.88 kB / 1.042 GB, free: 8.211 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.6513, allocations: 101.2 kB / 1.043 GB, free: 8.105 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6514, allocations: 8 kB / 1.043 GB, free: 8.098 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6514, allocations: 7.938 kB / 1.043 GB, free: 8.09 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6514, allocations: 3.984 kB / 1.043 GB, free: 8.086 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.6535, allocations: 1.431 MB / 1.044 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6535, allocations: 0 / 1.044 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.6541, allocations: 115.8 kB / 1.044 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6541, allocations: 0 / 1.044 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.6542, allocations: 15.98 kB / 1.044 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6542, allocations: 4 kB / 1.044 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6542, allocations: 0 / 1.044 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.6558, allocations: 0.9664 MB / 1.045 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.6561, allocations: 211.8 kB / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.6562, allocations: 19.98 kB / 1.045 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.6566, allocations: 43.91 kB / 1.045 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.6567, allocations: 32.52 kB / 1.045 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.6568, allocations: 19.98 kB / 1.045 GB, free: 5.145 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006286/0.6574, allocations: 0.5185 MB / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6574, allocations: 3.938 kB / 1.046 GB, free: 4.629 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007344/0.6582, allocations: 271 kB / 1.046 GB, free: 4.363 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.0001336/0.6583, allocations: 121.3 kB / 1.046 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.6602, allocations: 0.8252 MB / 1.047 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6603, allocations: 0 / 1.047 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.6608, allocations: 267.1 kB / 1.047 GB, free: 3.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.662, allocations: 264.5 kB / 1.048 GB, free: 2.902 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.6645, allocations: 1.567 MB / 1.049 GB, free: 1.301 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.665, allocations: 0.9937 MB / 1.05 GB, free: 288 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004992/0.6655, allocations: 114.7 kB / 1.05 GB, free: 168 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.6657, allocations: 67.42 kB / 1.05 GB, free: 100 kB / 0.795 GB Notification: Performance of SimCode: time 6.72e-07/0.6657, allocations: 0 / 1.05 GB, free: 100 kB / 0.795 GB Notification: Performance of Templates: time 0.01656/0.6823, allocations: 9.265 MB / 1.059 GB, free: 6.941 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (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 & ./Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches