Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 111.5 kB / 16.42 MB, free: 6.441 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.002194/0.002195, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.521/1.521, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 1.055 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9843/0.9858, 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.PIDWithResetScale): time 0.003773/0.9896, allocations: 2.166 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.9927, allocations: 1.704 MB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.9933, allocations: 8 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.9937, allocations: 87 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.9941, allocations: 83.12 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.9953, allocations: 430.5 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008835/0.9962, allocations: 0.7856 MB / 1.214 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.9967, allocations: 377.8 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.9971, allocations: 298.9 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.9974, allocations: 322.5 kB / 1.215 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.9975, allocations: 88 kB / 1.215 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.9977, allocations: 99.98 kB / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.9978, allocations: 155.5 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.9981, allocations: 330.3 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009309/0.999, allocations: 0.9203 MB / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9991, allocations: 0 / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.113e-06/0.9991, allocations: 4 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.9991, allocations: 0 / 1.216 GB, free: 5.734 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00165/1.001, allocations: 0.9754 MB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.001, allocations: 8.031 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/1.001, allocations: 76.09 kB / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/1.002, allocations: 413.9 kB / 1.218 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/1.002, allocations: 45.69 kB / 1.218 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/1.002, allocations: 72.25 kB / 1.218 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/1.003, allocations: 0.5197 MB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.003, allocations: 192 / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/1.003, allocations: 27.92 kB / 1.218 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/1.003, allocations: 16 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/1.003, allocations: 365 kB / 1.219 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/1.006, allocations: 1.654 MB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/1.007, allocations: 0.8972 MB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/1.007, allocations: 242.7 kB / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/1.007, allocations: 8.375 kB / 1.221 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/1.008, allocations: 281.4 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 2.405e-06/1.008, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=53): time 0.001084/1.009, allocations: 0.5727 MB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.009, allocations: 111.2 kB / 1.222 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/1.009, allocations: 413.5 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/1.009, allocations: 41.7 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/1.01, allocations: 261 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.01, allocations: 173.4 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/1.01, allocations: 114.2 kB / 1.223 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.01, allocations: 362.7 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/1.01, allocations: 215 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/1.011, allocations: 307.4 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/1.012, allocations: 491.5 kB / 1.224 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.012, allocations: 8 kB / 1.224 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001242/1.013, allocations: 0.6689 MB / 1.225 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/1.013, allocations: 67.39 kB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.013, allocations: 0 / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.013, allocations: 4.156 kB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/1.014, allocations: 103.8 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.014, allocations: 4 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/1.014, allocations: 103.4 kB / 1.225 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/1.014, allocations: 31.98 kB / 1.225 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004811/1.015, allocations: 321.1 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003996/1.015, allocations: 279.4 kB / 1.226 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005886/1.016, allocations: 459.5 kB / 1.226 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/1.016, allocations: 0 / 1.226 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0009984/1.017, allocations: 0.622 MB / 1.227 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/1.017, allocations: 71.55 kB / 1.227 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/1.017, allocations: 0 / 1.227 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/1.017, allocations: 7.938 kB / 1.227 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/1.017, allocations: 91.83 kB / 1.227 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.017, allocations: 4 kB / 1.227 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/1.018, allocations: 99.55 kB / 1.227 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/1.018, allocations: 31.98 kB / 1.227 GB, free: 9.629 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0001866/1.018, allocations: 225.6 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/1.018, allocations: 51.33 kB / 1.228 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/1.019, allocations: 469.6 kB / 1.228 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/1.019, allocations: 4 kB / 1.228 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.019, allocations: 0 / 1.228 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/1.019, allocations: 128.6 kB / 1.228 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/1.019, allocations: 19.92 kB / 1.228 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/1.019, allocations: 23.98 kB / 1.228 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/1.019, allocations: 36.38 kB / 1.228 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001077/1.02, allocations: 0.5503 MB / 1.229 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001158/1.021, allocations: 0.8299 MB / 1.23 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003083/1.022, allocations: 207.4 kB / 1.23 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002746/1.022, allocations: 291.1 kB / 1.23 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/1.022, allocations: 0 / 1.23 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001743/1.024, allocations: 0.954 MB / 1.231 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001599/1.025, allocations: 1.323 MB / 1.232 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of Templates: time 0.01459/1.04, allocations: 9.114 MB / 1.241 GB, free: 11.34 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithResetScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches