Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001621/0.001622, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001851/0.001851, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 482.2 MB / 0.7548 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 71.36 kB / 0.9238 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7993, allocations: 162.2 MB / 1.082 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004596/0.8039, allocations: 3.602 MB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004021/0.808, allocations: 2.068 MB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.8086, allocations: 21.75 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.8091, allocations: 133.5 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.8095, allocations: 88.89 kB / 1.088 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.8107, allocations: 448.9 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.8121, allocations: 1.259 MB / 1.09 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008955/0.813, allocations: 0.5998 MB / 1.09 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.8136, allocations: 451 kB / 1.091 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/0.8141, allocations: 470.7 kB / 1.091 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.8143, allocations: 129.5 kB / 1.091 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.8145, allocations: 147.2 kB / 1.091 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.8147, allocations: 256.9 kB / 1.092 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.8151, allocations: 0.5007 MB / 1.092 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.8164, allocations: 1.105 MB / 1.093 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.589e-05/0.8164, allocations: 3.938 kB / 1.093 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8164, allocations: 0 / 1.093 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.265e-05/0.8165, allocations: 0 / 1.093 GB, free: 10.65 MB / 0.8419 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.002638/0.8191, allocations: 1.361 MB / 1.094 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8192, allocations: 9.375 kB / 1.094 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.8194, allocations: 119.9 kB / 1.095 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.8203, allocations: 0.5948 MB / 1.095 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.8203, allocations: 73.53 kB / 1.095 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.8205, allocations: 94.77 kB / 1.095 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.8222, allocations: 0.8576 MB / 1.096 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.8222, allocations: 1.281 kB / 1.096 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-05/0.8223, allocations: 49.45 kB / 1.096 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.8224, allocations: 20.91 kB / 1.096 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.8237, allocations: 0.6336 MB / 1.097 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004932/0.8286, allocations: 2.993 MB / 1.1 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.8302, allocations: 0.6777 MB / 1.1 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.8309, allocations: 374.4 kB / 1.101 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.8309, allocations: 20.72 kB / 1.101 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007325/0.8317, allocations: 348.7 kB / 1.101 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 3.166e-06/0.8317, allocations: 0 / 1.101 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.003401/0.8351, allocations: 0.8298 MB / 1.102 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.8353, allocations: 189.6 kB / 1.102 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.8372, allocations: 0.6771 MB / 1.103 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.8374, allocations: 48.08 kB / 1.103 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/0.8381, allocations: 431.1 kB / 1.103 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.8385, allocations: 230.7 kB / 1.103 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004551/0.8389, allocations: 142.6 kB / 1.104 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002381/0.8392, allocations: 338.4 kB / 1.104 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.8406, allocations: 296.5 kB / 1.104 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.8422, allocations: 482.8 kB / 1.105 GB, free: 4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.8446, allocations: 0.67 MB / 1.105 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.8446, allocations: 1.375 kB / 1.105 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003591/0.8482, allocations: 0.8824 MB / 1.106 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.819e-05/0.8483, allocations: 39.22 kB / 1.106 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.8484, allocations: 2.75 kB / 1.106 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-05/0.8484, allocations: 8.328 kB / 1.106 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.8496, allocations: 156.8 kB / 1.106 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.067e-05/0.8497, allocations: 15.48 kB / 1.106 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.8511, allocations: 143.5 kB / 1.107 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.8512, allocations: 30.81 kB / 1.107 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001362/0.8526, allocations: 402.1 kB / 1.107 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/0.8538, allocations: 414.3 kB / 1.107 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001575/0.8553, allocations: 0.5717 MB / 1.108 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-05/0.8554, allocations: 6 kB / 1.108 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00245/0.8578, allocations: 0.7613 MB / 1.109 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.8579, allocations: 40.67 kB / 1.109 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8579, allocations: 3 kB / 1.109 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.858, allocations: 6.922 kB / 1.109 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/0.8589, allocations: 137.6 kB / 1.109 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.859, allocations: 10.48 kB / 1.109 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.8601, allocations: 112.8 kB / 1.109 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.8602, allocations: 26.66 kB / 1.109 GB, free: 1.77 MB / 0.8419 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.0004404/0.8607, allocations: 235.2 kB / 1.109 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.861, allocations: 90.91 kB / 1.109 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.8633, allocations: 0.6537 MB / 1.11 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.8633, allocations: 7.266 kB / 1.11 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.8633, allocations: 0 / 1.11 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.8633, allocations: 4.656 kB / 1.11 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/0.8682, allocations: 1.662 MB / 1.112 GB, free: 320 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.8682, allocations: 10.19 kB / 1.112 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.8693, allocations: 134.2 kB / 1.112 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/0.8693, allocations: 5.625 kB / 1.112 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.8694, allocations: 17.86 kB / 1.112 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.8694, allocations: 5.031 kB / 1.112 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.8695, allocations: 2.812 kB / 1.112 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.8729, allocations: 1.087 MB / 1.113 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.8733, allocations: 178.3 kB / 1.113 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.8736, allocations: 16.97 kB / 1.113 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007529/0.8743, allocations: 44.58 kB / 1.113 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.8745, allocations: 47.02 kB / 1.113 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.8746, allocations: 22.02 kB / 1.113 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001076/0.8757, allocations: 488 kB / 1.114 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8757, allocations: 0 / 1.114 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00163/0.8773, allocations: 323.9 kB / 1.114 GB, free: 15.21 MB / 0.8575 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.0003189/0.8777, allocations: 131.8 kB / 1.114 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004207/0.8819, allocations: 1.173 MB / 1.115 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.8819, allocations: 5.5 kB / 1.115 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.883, allocations: 318.6 kB / 1.115 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.8848, allocations: 183.3 kB / 1.116 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.8894, allocations: 1.882 MB / 1.117 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.8902, allocations: 0.9764 MB / 1.118 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.8905, allocations: 69.48 kB / 1.118 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of SimCode: time 8.21e-07/0.8905, allocations: 0 / 1.118 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.02067/0.9112, allocations: 10.1 MB / 1.128 GB, free: 8.457 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches