Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 111.8 kB / 16.42 MB, free: 6.457 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.001689/0.001689, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.61/1.61, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.849/2.849, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 63.91 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.004844/1.112, allocations: 1.828 MB / 1.223 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003039/1.115, allocations: 1.263 MB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005063/1.115, allocations: 15.94 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003851/1.116, allocations: 75.19 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003793/1.116, allocations: 51.47 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/1.117, allocations: 175 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009454/1.118, allocations: 481.1 kB / 1.225 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007277/1.119, allocations: 279.2 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/1.119, allocations: 183.2 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/1.119, allocations: 203 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/1.119, allocations: 55.94 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/1.119, allocations: 52 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/1.12, allocations: 111.6 kB / 1.226 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/1.12, allocations: 210.8 kB / 1.226 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006924/1.121, allocations: 0.5836 MB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.121, allocations: 0 / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.034e-06/1.121, allocations: 0 / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.139e-05/1.121, allocations: 0 / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001665/1.122, allocations: 0.7347 MB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.122, allocations: 8.031 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.122, allocations: 52.38 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/1.123, allocations: 360.2 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/1.123, allocations: 29.38 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/1.123, allocations: 40.38 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008779/1.124, allocations: 407.6 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.124, allocations: 192 / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/1.124, allocations: 27.94 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/1.124, allocations: 11.94 kB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/1.125, allocations: 283.8 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/1.128, allocations: 1.366 MB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/1.128, allocations: 246.9 kB / 1.23 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/1.129, allocations: 114.7 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/1.129, allocations: 11.98 kB / 1.23 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/1.129, allocations: 38.55 kB / 1.23 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/1.129, allocations: 0 / 1.23 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0007464/1.13, allocations: 299.3 kB / 1.23 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/1.13, allocations: 110.8 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/1.13, allocations: 397.7 kB / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.13, allocations: 37.69 kB / 1.231 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/1.13, allocations: 247.6 kB / 1.231 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/1.131, allocations: 67 kB / 1.231 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.131, allocations: 73.92 kB / 1.231 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.131, allocations: 346.8 kB / 1.231 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/1.131, allocations: 114.1 kB / 1.232 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/1.131, allocations: 204.3 kB / 1.232 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/1.132, allocations: 276.7 kB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.132, allocations: 7.938 kB / 1.232 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007432/1.133, allocations: 372.3 kB / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.133, allocations: 8 kB / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.133, allocations: 0 / 1.232 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.133, allocations: 7.938 kB / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/1.133, allocations: 71.91 kB / 1.232 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/1.133, allocations: 11.92 kB / 1.232 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/1.133, allocations: 51.52 kB / 1.233 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/1.133, allocations: 12 kB / 1.233 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002809/1.134, allocations: 204.8 kB / 1.233 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000242/1.134, allocations: 179.4 kB / 1.233 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003282/1.134, allocations: 235.5 kB / 1.233 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/1.134, allocations: 0 / 1.233 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00053/1.135, allocations: 322.6 kB / 1.233 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.135, allocations: 4 kB / 1.233 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.135, allocations: 4 kB / 1.233 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/1.135, allocations: 7.984 kB / 1.233 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.135, allocations: 59.92 kB / 1.234 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.135, allocations: 11.88 kB / 1.234 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/1.135, allocations: 40.03 kB / 1.234 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/1.135, allocations: 12 kB / 1.234 GB, free: 5 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001637/1.136, allocations: 196.1 kB / 1.234 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/1.136, allocations: 39.52 kB / 1.234 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/1.136, allocations: 241 kB / 1.234 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/1.136, allocations: 7.984 kB / 1.234 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.136, allocations: 0 / 1.234 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.136, allocations: 116.7 kB / 1.234 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/1.136, allocations: 7.938 kB / 1.234 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.137, allocations: 19.98 kB / 1.234 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/1.137, allocations: 11.92 kB / 1.234 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006498/1.137, allocations: 322.8 kB / 1.234 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007673/1.138, allocations: 0.4981 MB / 1.235 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001904/1.138, allocations: 97.7 kB / 1.235 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003393/1.139, allocations: 287.2 kB / 1.235 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of Backend: time 5.81e-07/1.139, allocations: 0 / 1.235 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.14, allocations: 401 kB / 1.236 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001606/1.141, allocations: 1.074 MB / 1.237 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of Templates: time 0.01045/1.152, allocations: 4.672 MB / 1.241 GB, free: 12.96 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches