Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.00142/0.001421, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.598/1.598, 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 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 71.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005497/1.034, allocations: 3.631 MB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004167/1.038, allocations: 2.129 MB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009448/1.039, allocations: 19.94 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007294/1.039, allocations: 178 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008064/1.04, allocations: 150.6 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/1.042, allocations: 0.4992 MB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0017/1.044, allocations: 1.256 MB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/1.045, allocations: 0.5877 MB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006466/1.045, allocations: 450.2 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006714/1.046, allocations: 489.4 kB / 1.177 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/1.046, allocations: 132 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/1.047, allocations: 144 kB / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/1.047, allocations: 255 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005806/1.048, allocations: 0.5012 MB / 1.178 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/1.049, allocations: 1.434 MB / 1.179 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/1.049, allocations: 0 / 1.179 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/1.049, allocations: 0 / 1.179 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.922e-05/1.049, allocations: 0 / 1.179 GB, free: 7.965 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003192/1.052, allocations: 1.371 MB / 1.18 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.053, allocations: 12.03 kB / 1.18 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/1.053, allocations: 111.6 kB / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/1.054, allocations: 0.6024 MB / 1.181 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/1.054, allocations: 74.38 kB / 1.181 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/1.054, allocations: 88.38 kB / 1.181 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/1.056, allocations: 0.8641 MB / 1.182 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.056, allocations: 192 / 1.182 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/1.056, allocations: 43.92 kB / 1.182 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/1.056, allocations: 20 kB / 1.182 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/1.058, allocations: 0.6441 MB / 1.183 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004903/1.062, allocations: 2.956 MB / 1.186 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/1.064, allocations: 0.6772 MB / 1.186 GB, free: 268 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/1.065, allocations: 378.6 kB / 1.187 GB, free: 15.89 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/1.065, allocations: 8.562 kB / 1.187 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007395/1.066, allocations: 355 kB / 1.187 GB, free: 15.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=68): time 3.626e-06/1.066, allocations: 0 / 1.187 GB, free: 15.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.001929/1.068, allocations: 0.8259 MB / 1.188 GB, free: 14.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/1.068, allocations: 188.5 kB / 1.188 GB, free: 14.47 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/1.069, allocations: 0.6802 MB / 1.189 GB, free: 13.78 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/1.069, allocations: 41.7 kB / 1.189 GB, free: 13.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/1.069, allocations: 432.8 kB / 1.189 GB, free: 13.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/1.069, allocations: 228.7 kB / 1.189 GB, free: 13.08 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/1.069, allocations: 142.7 kB / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.07, allocations: 337.9 kB / 1.19 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/1.07, allocations: 304.6 kB / 1.19 GB, free: 12.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000857/1.071, allocations: 482.1 kB / 1.19 GB, free: 11.76 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/1.073, allocations: 0.6731 MB / 1.191 GB, free: 11.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.073, allocations: 4 kB / 1.191 GB, free: 11.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00188/1.075, allocations: 0.8803 MB / 1.192 GB, free: 10.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/1.075, allocations: 42.06 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.075, allocations: 4 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/1.075, allocations: 8.094 kB / 1.192 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/1.075, allocations: 163.7 kB / 1.192 GB, free: 9.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.075, allocations: 8 kB / 1.192 GB, free: 9.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/1.076, allocations: 143 kB / 1.192 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/1.076, allocations: 35.97 kB / 1.192 GB, free: 9.738 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007118/1.077, allocations: 394 kB / 1.193 GB, free: 9.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006089/1.077, allocations: 414.2 kB / 1.193 GB, free: 8.879 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008748/1.078, allocations: 0.5755 MB / 1.194 GB, free: 8.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/1.078, allocations: 0 / 1.194 GB, free: 8.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00142/1.08, allocations: 0.7598 MB / 1.194 GB, free: 7.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/1.08, allocations: 40.36 kB / 1.194 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.08, allocations: 4 kB / 1.194 GB, free: 7.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/1.08, allocations: 8 kB / 1.194 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/1.08, allocations: 139.8 kB / 1.195 GB, free: 7.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.08, allocations: 8 kB / 1.195 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006449/1.081, allocations: 119.4 kB / 1.195 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/1.081, allocations: 27.98 kB / 1.195 GB, free: 7.141 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,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 (90): * Single equations (assignments): 89 * 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.0002455/1.081, allocations: 236 kB / 1.195 GB, free: 6.902 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/1.081, allocations: 78.97 kB / 1.195 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/1.083, allocations: 0.6516 MB / 1.196 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/1.083, allocations: 3.984 kB / 1.196 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.083, allocations: 0 / 1.196 GB, free: 6.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/1.083, allocations: 171.9 kB / 1.196 GB, free: 5.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/1.083, allocations: 12 kB / 1.196 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/1.084, allocations: 51.89 kB / 1.196 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/1.084, allocations: 32.52 kB / 1.196 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001696/1.085, allocations: 0.7368 MB / 1.197 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001973/1.087, allocations: 1.119 MB / 1.198 GB, free: 3.984 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005665/1.088, allocations: 304.3 kB / 1.198 GB, free: 3.691 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006571/1.089, allocations: 475 kB / 1.198 GB, free: 3.23 MB / 0.92 GB Notification: Performance of Backend: time 1.052e-06/1.089, allocations: 0 / 1.198 GB, free: 3.23 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002465/1.091, allocations: 1.02 MB / 1.199 GB, free: 2.18 MB / 0.92 GB Notification: Performance of SimCode: time 0.002758/1.094, allocations: 1.854 MB / 1.201 GB, free: 284 kB / 0.92 GB Notification: Performance of Templates: time 0.02296/1.117, allocations: 12.37 MB / 1.213 GB, free: 3.996 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches