Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.002135/0.002135, allocations: 194.2 kB / 16.67 MB, free: 5.949 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 65.36 kB / 0.9509 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3483, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.005427/0.3538, allocations: 3.617 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.358, allocations: 2.129 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.3591, allocations: 23.94 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.3598, allocations: 182 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.3605, allocations: 138.6 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3619, allocations: 0.5014 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.3632, allocations: 1.264 MB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.364, allocations: 0.5916 MB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.3645, allocations: 450.2 kB / 1.097 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.3649, allocations: 485.5 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.365, allocations: 131.9 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3653, allocations: 148 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.3655, allocations: 251.1 kB / 1.098 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.3659, allocations: 0.4973 MB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.3672, allocations: 1.432 MB / 1.1 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3672, allocations: 0 / 1.1 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3672, allocations: 0 / 1.1 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.3672, allocations: 0 / 1.1 GB, free: 5.57 MB / 0.8575 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.002341/0.3695, allocations: 1.371 MB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3696, allocations: 12.03 kB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3698, allocations: 115.5 kB / 1.101 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.3706, allocations: 0.5987 MB / 1.102 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.3706, allocations: 70.38 kB / 1.102 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3708, allocations: 96.28 kB / 1.102 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.3721, allocations: 0.8641 MB / 1.103 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3722, allocations: 192 / 1.103 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.3722, allocations: 39.94 kB / 1.103 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3723, allocations: 20 kB / 1.103 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3735, allocations: 0.6402 MB / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.3775, allocations: 2.96 MB / 1.106 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.3789, allocations: 0.6778 MB / 1.107 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.3795, allocations: 378.6 kB / 1.107 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.3796, allocations: 8.562 kB / 1.107 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/0.3803, allocations: 351 kB / 1.107 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=68): time 2.985e-06/0.3803, allocations: 4 kB / 1.107 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68): time 0.001736/0.382, allocations: 0.8259 MB / 1.108 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.3821, allocations: 192.4 kB / 1.108 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.3829, allocations: 0.684 MB / 1.109 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.383, allocations: 41.7 kB / 1.109 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.3834, allocations: 428.9 kB / 1.11 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.3836, allocations: 232.6 kB / 1.11 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.3838, allocations: 142.7 kB / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3839, allocations: 337.9 kB / 1.11 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.3846, allocations: 304.6 kB / 1.111 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/0.3854, allocations: 478.2 kB / 1.111 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3866, allocations: 0.6809 MB / 1.112 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3866, allocations: 0 / 1.112 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001724/0.3883, allocations: 0.8765 MB / 1.113 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.3884, allocations: 45.62 kB / 1.113 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3884, allocations: 384 / 1.113 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.3884, allocations: 12 kB / 1.113 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.389, allocations: 155.8 kB / 1.113 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3891, allocations: 8 kB / 1.113 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.3897, allocations: 143 kB / 1.113 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.3898, allocations: 35.98 kB / 1.113 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006698/0.3905, allocations: 394 kB / 1.113 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005497/0.391, allocations: 418.2 kB / 1.114 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007812/0.3918, allocations: 0.5756 MB / 1.114 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/0.3918, allocations: 192 / 1.114 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001268/0.3931, allocations: 0.7559 MB / 1.115 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.3931, allocations: 51.19 kB / 1.115 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3932, allocations: 4 kB / 1.115 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3932, allocations: 8 kB / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.3937, allocations: 131.8 kB / 1.115 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3937, allocations: 8 kB / 1.115 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.3943, allocations: 111.4 kB / 1.115 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.3943, allocations: 32 kB / 1.115 GB, free: 4.734 MB / 0.8731 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.0002894/0.3946, allocations: 228 kB / 1.116 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3947, allocations: 86.94 kB / 1.116 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.3961, allocations: 0.6554 MB / 1.116 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3961, allocations: 8 kB / 1.116 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3961, allocations: 0 / 1.116 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3961, allocations: 7.922 kB / 1.116 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.3987, allocations: 1.663 MB / 1.118 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3987, allocations: 11.88 kB / 1.118 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.3992, allocations: 123.9 kB / 1.118 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.3992, allocations: 4 kB / 1.118 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.3993, allocations: 23.98 kB / 1.118 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.3993, allocations: 7.938 kB / 1.118 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3993, allocations: 8.281 kB / 1.118 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.4012, allocations: 1.081 MB / 1.119 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.4014, allocations: 175.9 kB / 1.119 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.4014, allocations: 24 kB / 1.119 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.4018, allocations: 43.95 kB / 1.119 GB, free: 436 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.4019, allocations: 44.5 kB / 1.119 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.402, allocations: 23.98 kB / 1.119 GB, free: 368 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000602/0.4026, allocations: 490.9 kB / 1.12 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4026, allocations: 0 / 1.12 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009572/0.4035, allocations: 318.8 kB / 1.12 GB, free: 15.57 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.4038, allocations: 127.1 kB / 1.12 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.406, allocations: 1.155 MB / 1.121 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4061, allocations: 0 / 1.121 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.4066, allocations: 308.3 kB / 1.122 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009554/0.4076, allocations: 180 kB / 1.122 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.4103, allocations: 1.478 MB / 1.123 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/0.411, allocations: 0.9782 MB / 1.124 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004383/0.4114, allocations: 105.9 kB / 1.124 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.4116, allocations: 59.42 kB / 1.124 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of SimCode: time 1.062e-06/0.4117, allocations: 0 / 1.124 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of Templates: time 0.01993/0.4316, allocations: 10.04 MB / 1.134 GB, free: 1.145 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches