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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009997/0.0009997, allocations: 103 kB / 15.06 MB, free: 1.098 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.000988/0.000988, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005539, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8382/0.8387, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.003881/0.8427, allocations: 2.906 MB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004195/0.8469, allocations: 2.027 MB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.8475, allocations: 19.94 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.8477, allocations: 83.03 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.8482, allocations: 163.4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/0.8492, allocations: 386.4 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008664/0.8501, allocations: 0.6872 MB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.8507, allocations: 426.6 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.8511, allocations: 278.5 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.8515, allocations: 330 kB / 1.028 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.8515, allocations: 32 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.8517, allocations: 47.98 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.8518, allocations: 127.4 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.852, allocations: 173.1 kB / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.8529, allocations: 1.05 MB / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.853, allocations: 0 / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.853, allocations: 0 / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.853, allocations: 0 / 1.029 GB, free: 8.387 MB / 0.7794 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.002137/0.8551, allocations: 1.235 MB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.8552, allocations: 11.98 kB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.8554, allocations: 122.5 kB / 1.031 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.8562, allocations: 0.5628 MB / 1.031 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.8563, allocations: 77.98 kB / 1.031 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8564, allocations: 99.89 kB / 1.031 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.8578, allocations: 0.8674 MB / 1.032 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.8578, allocations: 4 kB / 1.032 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.8579, allocations: 40 kB / 1.032 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.8579, allocations: 20 kB / 1.032 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.8592, allocations: 0.6714 MB / 1.033 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.8636, allocations: 3.019 MB / 1.036 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.8653, allocations: 0.7647 MB / 1.037 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.8653, allocations: 16.61 kB / 1.037 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007711/0.8661, allocations: 363 kB / 1.037 GB, free: 288 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=68): time 4.288e-06/0.8661, allocations: 0 / 1.037 GB, free: 288 kB / 0.7794 GB Notification: Performance of matching and sorting (n=68): time 0.002078/0.8682, allocations: 0.8925 MB / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.8684, allocations: 188.5 kB / 1.038 GB, free: 15.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.8694, allocations: 0.6646 MB / 1.039 GB, free: 14.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.8695, allocations: 45.7 kB / 1.039 GB, free: 14.43 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.8699, allocations: 431.8 kB / 1.039 GB, free: 14 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.8702, allocations: 236.5 kB / 1.039 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.8702, allocations: 19.94 kB / 1.039 GB, free: 13.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.8704, allocations: 334 kB / 1.04 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.8711, allocations: 301.8 kB / 1.04 GB, free: 13.12 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000807/0.872, allocations: 494.1 kB / 1.04 GB, free: 12.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007494/0.8727, allocations: 368.8 kB / 1.041 GB, free: 12.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.8727, allocations: 4 kB / 1.041 GB, free: 12.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00183/0.8746, allocations: 0.9081 MB / 1.042 GB, free: 11.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006618/0.8753, allocations: 1.173 MB / 1.043 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.8753, allocations: 4 kB / 1.043 GB, free: 10 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/0.8753, allocations: 8 kB / 1.043 GB, free: 9.996 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.876, allocations: 175.8 kB / 1.043 GB, free: 9.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.876, allocations: 7.938 kB / 1.043 GB, free: 9.816 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/0.8768, allocations: 171 kB / 1.043 GB, free: 9.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.8769, allocations: 35.98 kB / 1.043 GB, free: 9.613 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.8769, allocations: 5.562 kB / 1.043 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001205/0.8781, allocations: 0.6651 MB / 1.044 GB, free: 8.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8781, allocations: 4 kB / 1.044 GB, free: 8.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.8782, allocations: 4 kB / 1.044 GB, free: 8.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.8786, allocations: 143.8 kB / 1.044 GB, free: 8.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.8787, allocations: 8.375 kB / 1.044 GB, free: 8.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.8792, allocations: 143.2 kB / 1.044 GB, free: 8.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.8793, allocations: 24 kB / 1.044 GB, free: 8.617 MB / 0.795 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.8798, allocations: 312.8 kB / 1.045 GB, free: 8.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.8799, allocations: 79.05 kB / 1.045 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.8813, allocations: 0.6906 MB / 1.045 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8813, allocations: 7.938 kB / 1.045 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.8813, allocations: 3.984 kB / 1.045 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.8813, allocations: 3.953 kB / 1.045 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.884, allocations: 1.71 MB / 1.047 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.884, allocations: 8.281 kB / 1.047 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.8846, allocations: 135.9 kB / 1.047 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.8846, allocations: 4 kB / 1.047 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.8847, allocations: 19.98 kB / 1.047 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.8847, allocations: 7.938 kB / 1.047 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8847, allocations: 4 kB / 1.047 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.8866, allocations: 1.26 MB / 1.048 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.8868, allocations: 164.1 kB / 1.049 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.8869, allocations: 15.98 kB / 1.049 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.8873, allocations: 63.95 kB / 1.049 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.8874, allocations: 44.47 kB / 1.049 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.8874, allocations: 23.98 kB / 1.049 GB, free: 3.848 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000593/0.888, allocations: 475 kB / 1.049 GB, free: 3.391 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.51e-07/0.888, allocations: 0 / 1.049 GB, free: 3.391 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009596/0.889, allocations: 334.6 kB / 1.049 GB, free: 3.062 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002739/0.8893, allocations: 123.2 kB / 1.05 GB, free: 2.934 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.8914, allocations: 1.182 MB / 1.051 GB, free: 1.727 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8915, allocations: 1.5 kB / 1.051 GB, free: 1.727 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.892, allocations: 323.5 kB / 1.051 GB, free: 1.414 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.8929, allocations: 168.4 kB / 1.051 GB, free: 1.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.8956, allocations: 1.792 MB / 1.053 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.8962, allocations: 0.9978 MB / 1.054 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.8966, allocations: 93.92 kB / 1.054 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.8967, allocations: 67.42 kB / 1.054 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of SimCode: time 9.22e-07/0.8967, allocations: 0 / 1.054 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.01652/0.9133, allocations: 8.79 MB / 1.063 GB, free: 5.516 MB / 0.8106 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches