Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9361/0.9361, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.801/1.801, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.364e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/2.321e-05, allocations: 3.156 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001241/0.001264, allocations: 0.6812 MB / 0.8123 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.002172, allocations: 0.8587 MB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.00221, allocations: 0.6562 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.002245, allocations: 3.938 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.002324, allocations: 5.25 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.002525, allocations: 11.92 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.002603, allocations: 27.92 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.002695, allocations: 6.422 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.002777, allocations: 11.98 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.002813, allocations: 11.94 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.002828, allocations: 4 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.002879, allocations: 7.938 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.002898, allocations: 7.984 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.00292, allocations: 1.094 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003037, allocations: 23.97 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003039, allocations: 3.938 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003039, allocations: 1.531 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.003044, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004753/0.003519, allocations: 352.7 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.00357, allocations: 12.02 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.003695, allocations: 10.41 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003795, allocations: 112.6 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.003806, allocations: 384 / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.003817, allocations: 4.312 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.003947, allocations: 56.47 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.003955, allocations: 192 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.003964, allocations: 4.375 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.003972, allocations: 384 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.004, allocations: 12.98 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.004267, allocations: 239.9 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.004317, allocations: 35.53 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.004337, allocations: 12.28 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.004352, allocations: 4.953 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.004374, allocations: 33.39 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.004375, allocations: 0 / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.004509, allocations: 50.31 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.004538, allocations: 51.94 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.004607, allocations: 161.9 kB / 0.8143 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.004616, allocations: 27.08 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.00466, allocations: 130.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.004678, allocations: 7.953 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.004701, allocations: 16.53 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.004809, allocations: 0.4923 MB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.00482, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.004829, allocations: 0.9062 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.004855, allocations: 11.69 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004856, allocations: 4.844 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.83e-05/0.004905, allocations: 38.58 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.004916, allocations: 6.656 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004921, allocations: 7.875 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.004933, allocations: 8.766 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.004997, allocations: 4 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005001, allocations: 1.281 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.005017, allocations: 4 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.005021, allocations: 0 / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.377e-05/0.005075, allocations: 157.4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.005088, allocations: 4.859 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.005162, allocations: 44.95 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005165, allocations: 5.547 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.005168, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005171, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.572e-05/0.005256, allocations: 116.6 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005257, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.005277, allocations: 9.141 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.00528, allocations: 11.94 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.005285, allocations: 3.188 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.005287, allocations: 3.938 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005288, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.149e-05/0.00537, allocations: 187.9 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.005375, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-06/0.005383, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.915e-05/0.005412, allocations: 7.938 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.005447, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.005451, allocations: 4.484 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.005489, allocations: 127.4 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005489, allocations: 1.938 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001326/0.005621, allocations: 8 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.306e-05/0.005684, allocations: 91.25 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.005757, allocations: 24.7 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005758, allocations: 0 / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-05/0.005775, allocations: 12.34 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.005942, allocations: 14.31 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.006186, allocations: 114.4 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.279e-05/0.006219, allocations: 55.36 kB / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.006232, allocations: 0 / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.006255, allocations: 11.5 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.006256, allocations: 3.938 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.001993/0.008248, allocations: 0.5012 MB / 0.8165 GB, free: 12.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.973958631977439]