Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001007/0.001007, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009998/0.0009998, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9719/0.9719, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8121 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.397e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.005746/0.00577, allocations: 0.8706 MB / 0.8129 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.006834, allocations: 0.9303 MB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.006924, allocations: 4 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.006961, allocations: 11.81 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.871e-05/0.00704, allocations: 8.656 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.007225, allocations: 79.75 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.007415, allocations: 133.4 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.007562, allocations: 45.64 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.007671, allocations: 75.86 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.00773, allocations: 39.81 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.007757, allocations: 17.53 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.007775, allocations: 12 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.007805, allocations: 31.91 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.007846, allocations: 39.89 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.007973, allocations: 96.06 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.007976, allocations: 0.9062 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007976, allocations: 0 / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.00798, allocations: 0.625 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.003465/0.01144, allocations: 469.6 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.01148, allocations: 12.03 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.01153, allocations: 28.84 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.0117, allocations: 165.6 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.01171, allocations: 10 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.01185, allocations: 16.38 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.01206, allocations: 193 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.01207, allocations: 192 / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.01208, allocations: 8.969 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.01209, allocations: 4.375 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.01216, allocations: 52.53 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.01269, allocations: 401.7 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.01278, allocations: 59.02 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.01281, allocations: 17.06 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.01283, allocations: 4 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01285, allocations: 41.39 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.01286, allocations: 1.75 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.000182/0.01304, allocations: 93.58 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.01306, allocations: 55.41 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01316, allocations: 196.2 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.01318, allocations: 25.7 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.01325, allocations: 181.4 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.01328, allocations: 35.69 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.01332, allocations: 31.36 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01345, allocations: 0.4962 MB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.01348, allocations: 8 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.0135, allocations: 15.98 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.601e-05/0.01357, allocations: 43.67 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01357, allocations: 0 / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001237/0.01369, allocations: 92.91 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.01371, allocations: 4 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.01371, allocations: 0 / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01372, allocations: 3.938 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.01383, allocations: 28.55 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01383, allocations: 0.5625 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.01387, allocations: 16.45 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01388, allocations: 0 / 0.8171 GB, free: 12 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 (13): * Single equations (assignments): 13 * 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 7.528e-05/0.01396, allocations: 165.2 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.01399, allocations: 17.25 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.01412, allocations: 82.39 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01413, allocations: 3.938 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01413, allocations: 6.562 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01414, allocations: 3.984 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.01445, allocations: 360.9 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01445, allocations: 0 / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.01451, allocations: 19.98 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01452, allocations: 7.938 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.01452, allocations: 4.531 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01453, allocations: 4.812 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01453, allocations: 3.938 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.01468, allocations: 259.8 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.01469, allocations: 7.953 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.0147, allocations: 5.156 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.01478, allocations: 15.98 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.01481, allocations: 7.984 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.01482, allocations: 4.844 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.01487, allocations: 140.6 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01487, allocations: 2.219 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002311/0.0151, allocations: 31.89 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 0.0001036/0.0152, allocations: 99.25 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01531, allocations: 51.59 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01531, allocations: 7.844 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.01535, allocations: 31.61 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.01561, allocations: 19.84 kB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.01596, allocations: 258.3 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.01601, allocations: 71.28 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.01605, allocations: 9.828 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.01612, allocations: 90.19 kB / 0.8188 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01612, allocations: 3.938 kB / 0.8188 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of Templates: time 0.006052/0.02218, allocations: 1.057 MB / 0.8199 GB, free: 9.055 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.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: 5.014629557263106]