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.001406/0.001406, allocations: 110.1 kB / 16.42 MB, free: 6.488 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.001458/0.001458, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8961/0.8974, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003859/0.9013, allocations: 3.622 MB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.9042, allocations: 2.125 MB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.9046, allocations: 25.31 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.905, allocations: 172.4 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.9054, allocations: 152.4 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.9063, allocations: 0.4982 MB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.9075, allocations: 1.263 MB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00095/0.9085, allocations: 0.5919 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006079/0.9091, allocations: 448.8 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.9097, allocations: 483.3 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.9099, allocations: 129.2 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.9101, allocations: 146 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.9104, allocations: 253.2 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.9109, allocations: 0.5006 MB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.9126, allocations: 1.434 MB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9126, allocations: 0 / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9126, allocations: 5.703 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.9126, allocations: 0 / 1.1 GB, free: 14 MB / 0.8731 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.002784/0.9154, allocations: 1.365 MB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.9155, allocations: 8.312 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.9157, allocations: 120.2 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.9166, allocations: 0.6005 MB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.9167, allocations: 70.23 kB / 1.102 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.9169, allocations: 98.52 kB / 1.102 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.9187, allocations: 0.8648 MB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.9187, allocations: 1.625 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.9188, allocations: 41.92 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.9188, allocations: 20.75 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.9204, allocations: 0.6376 MB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/0.9257, allocations: 2.96 MB / 1.107 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.9273, allocations: 0.6839 MB / 1.108 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.928, allocations: 378.1 kB / 1.108 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.9281, allocations: 14.28 kB / 1.108 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000718/0.9288, allocations: 343.1 kB / 1.108 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=68): time 6.733e-06/0.9288, allocations: 5.109 kB / 1.108 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68): time 0.001928/0.9307, allocations: 0.833 MB / 1.109 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.9309, allocations: 193.8 kB / 1.109 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.9318, allocations: 0.674 MB / 1.11 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.9319, allocations: 39.67 kB / 1.11 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.9323, allocations: 434.7 kB / 1.11 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.9325, allocations: 231.7 kB / 1.111 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.9328, allocations: 142.5 kB / 1.111 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.933, allocations: 338.3 kB / 1.111 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.9337, allocations: 300.7 kB / 1.111 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.9346, allocations: 479 kB / 1.112 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.936, allocations: 0.6733 MB / 1.112 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9361, allocations: 5.344 kB / 1.112 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002199/0.9383, allocations: 0.8778 MB / 1.113 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.9383, allocations: 35.52 kB / 1.113 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9384, allocations: 4.234 kB / 1.113 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.9384, allocations: 6.5 kB / 1.113 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.939, allocations: 162.1 kB / 1.113 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.9391, allocations: 10.33 kB / 1.113 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.9398, allocations: 143.5 kB / 1.114 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/0.9399, allocations: 34.3 kB / 1.114 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007395/0.9406, allocations: 391 kB / 1.114 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007177/0.9413, allocations: 422.6 kB / 1.114 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009177/0.9423, allocations: 0.5638 MB / 1.115 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.9423, allocations: 0 / 1.115 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001341/0.9436, allocations: 0.7664 MB / 1.116 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.9437, allocations: 40.25 kB / 1.116 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9437, allocations: 3.188 kB / 1.116 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.9437, allocations: 6.969 kB / 1.116 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.9442, allocations: 137.7 kB / 1.116 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.9443, allocations: 10.53 kB / 1.116 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.9449, allocations: 110.7 kB / 1.116 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.945, allocations: 32.14 kB / 1.116 GB, free: 5.129 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.0002573/0.9452, allocations: 228.2 kB / 1.116 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.9454, allocations: 88.69 kB / 1.116 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.9468, allocations: 0.6516 MB / 1.117 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.9468, allocations: 3.188 kB / 1.117 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9468, allocations: 4 kB / 1.117 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.947, allocations: 169.2 kB / 1.117 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.9471, allocations: 12.61 kB / 1.117 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.9475, allocations: 46.83 kB / 1.117 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.9476, allocations: 40.44 kB / 1.117 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001634/0.9492, allocations: 0.729 MB / 1.118 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001955/0.9512, allocations: 1.122 MB / 1.119 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005406/0.9517, allocations: 295.8 kB / 1.119 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006488/0.9524, allocations: 479.6 kB / 1.12 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of Backend: time 9.02e-07/0.9524, allocations: 0 / 1.12 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.9548, allocations: 1.024 MB / 1.121 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002921/0.9577, allocations: 1.835 MB / 1.123 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of Templates: time 0.02789/0.9856, allocations: 12.36 MB / 1.135 GB, free: 116 kB / 0.8731 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/jenkins1/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