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.0009516/0.0009516, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001625/0.001625, allocations: 167.8 kB / 24.87 MB, free: 9.207 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.9567/0.9567, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.906/1.906, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] 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.804e-06/1.804e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.826e-05, allocations: 3.156 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001406/0.001424, allocations: 0.8658 MB / 0.8137 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.002336, allocations: 0.9334 MB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.002419, allocations: 7.938 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.002454, allocations: 13.5 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.002531, allocations: 7.922 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.002704, allocations: 67.84 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.00289, allocations: 139.7 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.003031, allocations: 43.19 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.003132, allocations: 79.8 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.003188, allocations: 39.86 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.003213, allocations: 16 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.003228, allocations: 12.81 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.003257, allocations: 31.91 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.003292, allocations: 41.22 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003403, allocations: 91.62 kB / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003405, allocations: 0 / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003406, allocations: 0 / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003409, allocations: 1.75 kB / 0.8152 GB, free: 15.02 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.0004586/0.003868, allocations: 472 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.003901, allocations: 13.12 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.003944, allocations: 28.84 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.004228, allocations: 161 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.00425, allocations: 13.19 kB / 0.8158 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.00428, allocations: 16.38 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.004589, allocations: 194.1 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.004601, allocations: 192 / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.00462, allocations: 10.78 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.00463, allocations: 4.375 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.004738, allocations: 55.88 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.005261, allocations: 395.9 kB / 0.8165 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.117e-05/0.005352, allocations: 63.44 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.005384, allocations: 24.39 kB / 0.8166 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.005401, allocations: 4 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.005424, allocations: 33.92 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.005426, allocations: 1.594 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001681/0.005594, allocations: 97.64 kB / 0.8167 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.005625, allocations: 51.41 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.005722, allocations: 192.7 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.005736, allocations: 25.7 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.005804, allocations: 179.1 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.005821, allocations: 32.39 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.005861, allocations: 39.28 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.005984, allocations: 0.493 MB / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.006006, allocations: 8 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.006027, allocations: 16.73 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.76e-05/0.006085, allocations: 49.3 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.006086, allocations: 0.9375 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.242e-05/0.006179, allocations: 77.64 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.006189, allocations: 8 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006193, allocations: 1.219 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.006203, allocations: 3.938 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.006286, allocations: 27.92 kB / 0.8179 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.006289, allocations: 0.875 kB / 0.8179 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.006325, allocations: 15.89 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-06/0.006331, allocations: 2.219 kB / 0.8179 GB, free: 12.05 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 6.735e-05/0.006398, allocations: 168.5 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.006421, allocations: 11.95 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.006537, allocations: 86.39 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.00654, allocations: 3.938 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.006543, allocations: 7.141 kB / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006545, allocations: 0 / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.006793, allocations: 364.9 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006794, allocations: 0 / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.006844, allocations: 19.98 kB / 0.8185 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.006847, allocations: 7.938 kB / 0.8185 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.006854, allocations: 4 kB / 0.8185 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006855, allocations: 1.219 kB / 0.8185 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.006857, allocations: 4 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.006984, allocations: 255.5 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.006996, allocations: 7.953 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.007007, allocations: 4.594 kB / 0.8188 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.007064, allocations: 21.61 kB / 0.8188 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.007092, allocations: 11.97 kB / 0.8188 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.007097, allocations: 0 / 0.8188 GB, free: 11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.007145, allocations: 147.2 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007145, allocations: 0 / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001543/0.0073, allocations: 29.08 kB / 0.819 GB, free: 10.83 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 7.797e-05/0.007377, allocations: 104.3 kB / 0.8191 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.007477, allocations: 55.58 kB / 0.8191 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007478, allocations: 0 / 0.8191 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.393e-05/0.007512, allocations: 36.27 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.007707, allocations: 23 kB / 0.8192 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.008038, allocations: 262.8 kB / 0.8194 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.008082, allocations: 72.28 kB / 0.8195 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.008111, allocations: 8.484 kB / 0.8195 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.008186, allocations: 91.28 kB / 0.8196 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.008186, allocations: 0 / 0.8196 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.002625/0.01081, allocations: 1.073 MB / 0.8206 GB, free: 9.07 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.222288317978382]