Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 109.7 kB / 16.41 MB, free: 6.512 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.001613/0.001612, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.534/1.534, allocations: 222.9 MB / 241 MB, free: 15.15 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.674/2.674, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.9079, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005277/0.9132, allocations: 3.32 MB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.9162, allocations: 1.723 MB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.9166, allocations: 16 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.917, allocations: 162.2 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.9174, allocations: 134.7 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.918, allocations: 355.5 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009082/0.919, allocations: 1.077 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00082/0.9198, allocations: 0.6272 MB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.9202, allocations: 398.3 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.9206, allocations: 457.6 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.9207, allocations: 120 kB / 1.176 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.9208, allocations: 116 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.921, allocations: 255.1 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.9214, allocations: 489.2 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.9224, allocations: 1.309 MB / 1.178 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9225, allocations: 0 / 1.178 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.554e-06/0.9225, allocations: 0 / 1.178 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.9225, allocations: 0 / 1.178 GB, free: 9.254 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002239/0.9247, allocations: 1.29 MB / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9248, allocations: 12.86 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.925, allocations: 115.5 kB / 1.179 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.9258, allocations: 0.5598 MB / 1.18 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.9258, allocations: 66.38 kB / 1.18 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.926, allocations: 100.4 kB / 1.18 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.9274, allocations: 0.8788 MB / 1.181 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.9274, allocations: 192 / 1.181 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.9275, allocations: 43.94 kB / 1.181 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.9275, allocations: 24 kB / 1.181 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.9287, allocations: 0.6168 MB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.9326, allocations: 2.798 MB / 1.184 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.9342, allocations: 1.306 MB / 1.185 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.9348, allocations: 399.6 kB / 1.186 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.9349, allocations: 8.656 kB / 1.186 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006412/0.9355, allocations: 352.4 kB / 1.186 GB, free: 348 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=74): time 2.956e-06/0.9355, allocations: 0 / 1.186 GB, free: 348 kB / 0.9044 GB Notification: Performance of matching and sorting (n=74): time 0.001641/0.9372, allocations: 0.8172 MB / 1.187 GB, free: 15.51 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.9373, allocations: 170.8 kB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.938, allocations: 0.5576 MB / 1.187 GB, free: 14.74 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.938, allocations: 41.7 kB / 1.188 GB, free: 14.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.9384, allocations: 396.2 kB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.9386, allocations: 256.2 kB / 1.188 GB, free: 14.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.9388, allocations: 126.7 kB / 1.188 GB, free: 13.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.9389, allocations: 382.8 kB / 1.189 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.9395, allocations: 244.7 kB / 1.189 GB, free: 13.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.9401, allocations: 365.2 kB / 1.189 GB, free: 12.9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/0.9411, allocations: 0.537 MB / 1.19 GB, free: 12.36 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9411, allocations: 0 / 1.19 GB, free: 12.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00129/0.9424, allocations: 0.7075 MB / 1.19 GB, free: 11.64 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9424, allocations: 8 kB / 1.19 GB, free: 11.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9424, allocations: 3.938 kB / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.9424, allocations: 4 kB / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.943, allocations: 159.9 kB / 1.191 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.9431, allocations: 4 kB / 1.191 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.9435, allocations: 95.27 kB / 1.191 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.9435, allocations: 23.98 kB / 1.191 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005127/0.944, allocations: 350.1 kB / 1.191 GB, free: 11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004377/0.9445, allocations: 313.4 kB / 1.191 GB, free: 10.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006476/0.9451, allocations: 462 kB / 1.192 GB, free: 10.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.9451, allocations: 3.984 kB / 1.192 GB, free: 10.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0009822/0.9461, allocations: 0.6138 MB / 1.192 GB, free: 9.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9462, allocations: 4 kB / 1.192 GB, free: 9.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.9462, allocations: 7.938 kB / 1.192 GB, free: 9.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.9462, allocations: 4 kB / 1.192 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.9467, allocations: 135.8 kB / 1.193 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.9467, allocations: 4 kB / 1.193 GB, free: 9.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.9471, allocations: 83.5 kB / 1.193 GB, free: 9.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.9472, allocations: 27.92 kB / 1.193 GB, free: 9.309 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.000252/0.9474, allocations: 216.1 kB / 1.193 GB, free: 9.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.9475, allocations: 71.16 kB / 1.193 GB, free: 9.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.9489, allocations: 0.6456 MB / 1.194 GB, free: 8.367 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.9489, allocations: 3.984 kB / 1.194 GB, free: 8.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9489, allocations: 0 / 1.194 GB, free: 8.363 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.9491, allocations: 160 kB / 1.194 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.9492, allocations: 15.98 kB / 1.194 GB, free: 8.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.9496, allocations: 47.97 kB / 1.194 GB, free: 8.125 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9497, allocations: 40.59 kB / 1.194 GB, free: 8.086 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001706/0.9514, allocations: 0.7546 MB / 1.195 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001729/0.9531, allocations: 1.134 MB / 1.196 GB, free: 6.172 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005061/0.9536, allocations: 301.1 kB / 1.196 GB, free: 5.883 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005179/0.9542, allocations: 394.8 kB / 1.196 GB, free: 5.5 MB / 0.92 GB Notification: Performance of Backend: time 9.21e-07/0.9542, allocations: 0 / 1.196 GB, free: 5.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.9561, allocations: 0.7599 MB / 1.197 GB, free: 4.73 MB / 0.92 GB Notification: Performance of SimCode: time 0.002695/0.9588, allocations: 1.838 MB / 1.199 GB, free: 2.844 MB / 0.92 GB Notification: Performance of Templates: time 0.01818/0.977, allocations: 10.08 MB / 1.209 GB, free: 8.828 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches