Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") 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: 111 kB / 16.41 MB, free: 6.449 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.001792/0.001792, allocations: 188.3 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.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001509, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003632/1.01, allocations: 2.073 MB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002647/1.013, allocations: 1.61 MB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/1.013, allocations: 8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003818/1.014, allocations: 79.06 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003807/1.014, allocations: 83.19 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/1.015, allocations: 330.7 kB / 1.213 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009081/1.016, allocations: 0.6881 MB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005407/1.017, allocations: 329.3 kB / 1.214 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/1.017, allocations: 255 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/1.017, allocations: 286.6 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/1.017, allocations: 76 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/1.018, allocations: 91.98 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/1.018, allocations: 147.5 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/1.018, allocations: 298.5 kB / 1.215 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008744/1.019, allocations: 0.8269 MB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.019, allocations: 0 / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.395e-06/1.019, allocations: 0 / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.624e-05/1.019, allocations: 0 / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002175/1.021, allocations: 0.9071 MB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.021, allocations: 12.03 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/1.021, allocations: 68.09 kB / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/1.022, allocations: 408.6 kB / 1.217 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/1.022, allocations: 41.38 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/1.022, allocations: 56.38 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/1.023, allocations: 0.4917 MB / 1.217 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.023, allocations: 4.125 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/1.023, allocations: 27.94 kB / 1.217 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/1.023, allocations: 12 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/1.024, allocations: 343.8 kB / 1.218 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/1.027, allocations: 1.546 MB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/1.028, allocations: 0.8701 MB / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/1.028, allocations: 231.4 kB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/1.028, allocations: 7.984 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004842/1.029, allocations: 248.8 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/1.029, allocations: 0 / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47): time 0.001158/1.03, allocations: 0.522 MB / 1.221 GB, free: 352 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/1.03, allocations: 119.2 kB / 1.221 GB, free: 208 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/1.031, allocations: 393.5 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/1.031, allocations: 33.7 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/1.031, allocations: 256.9 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.031, allocations: 157.8 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/1.031, allocations: 102.1 kB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.031, allocations: 354.8 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/1.032, allocations: 191 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/1.032, allocations: 276.2 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/1.033, allocations: 443.3 kB / 1.223 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.033, allocations: 0 / 1.223 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001168/1.034, allocations: 0.5676 MB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/1.034, allocations: 41.64 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.034, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/1.034, allocations: 4 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/1.035, allocations: 95.81 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.035, allocations: 4 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/1.035, allocations: 83.53 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/1.035, allocations: 24 kB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004666/1.036, allocations: 289.2 kB / 1.224 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003717/1.036, allocations: 256.2 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005877/1.037, allocations: 391.5 kB / 1.225 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/1.037, allocations: 7.984 kB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009335/1.038, allocations: 0.5166 MB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/1.038, allocations: 41.69 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.038, allocations: 4 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/1.038, allocations: 7.938 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/1.038, allocations: 83.84 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.038, allocations: 4.219 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/1.039, allocations: 75.62 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/1.039, allocations: 20 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0001725/1.039, allocations: 214.8 kB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/1.039, allocations: 51.38 kB / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/1.04, allocations: 429.4 kB / 1.226 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.04, allocations: 0 / 1.226 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.04, allocations: 0 / 1.226 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/1.04, allocations: 128.4 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/1.04, allocations: 12 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/1.04, allocations: 19.97 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/1.04, allocations: 28.41 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001019/1.041, allocations: 0.5074 MB / 1.227 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001127/1.042, allocations: 0.7863 MB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000293/1.042, allocations: 191.4 kB / 1.228 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002666/1.043, allocations: 275.1 kB / 1.228 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of Backend: time 7.01e-07/1.043, allocations: 0 / 1.228 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.044, allocations: 0.7424 MB / 1.229 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001625/1.046, allocations: 1.282 MB / 1.23 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of Templates: time 0.01365/1.06, allocations: 7.572 MB / 1.238 GB, free: 15.06 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches