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.001398/0.001398, 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.001484/0.001484, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.877/1.877, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.503e-06/1.503e-06, allocations: 0.875 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.75e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001385/0.001403, allocations: 0.8827 MB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.002396, allocations: 0.9342 MB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.002488, allocations: 7.938 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.00253, allocations: 7.875 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.002615, allocations: 12.69 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.002824, allocations: 71.83 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.00301, allocations: 132.5 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.003154, allocations: 47.33 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.003249, allocations: 67.86 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.003303, allocations: 47.86 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.003339, allocations: 19.94 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.003354, allocations: 12 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.003378, allocations: 25.45 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.003414, allocations: 47.83 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.003537, allocations: 91.62 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003539, allocations: 0 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00354, allocations: 1.375 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.003544, allocations: 0 / 0.8139 GB, free: 15.27 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.0004664/0.00401, allocations: 461.9 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.004046, allocations: 12.03 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.004099, allocations: 24.84 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.004293, allocations: 165.3 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.004307, allocations: 8.375 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.004326, allocations: 16.91 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.004558, allocations: 213.7 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.004568, allocations: 192 / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.004581, allocations: 5.562 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.00459, allocations: 4.375 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.004687, allocations: 67.88 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.005207, allocations: 425.8 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.005321, allocations: 70.92 kB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.00536, allocations: 19.67 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.005383, allocations: 4 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.005407, allocations: 37.92 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.005408, allocations: 4.719 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0004824/0.00589, allocations: 97.64 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.005916, allocations: 51.94 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.006014, allocations: 195.5 kB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.006028, allocations: 29.7 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.006098, allocations: 174.5 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.006124, allocations: 31.7 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.006173, allocations: 31.36 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.00628, allocations: 0.4929 MB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.006315, allocations: 16.69 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.006345, allocations: 11.98 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.572e-05/0.006421, allocations: 62.05 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006422, allocations: 0 / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001115/0.006534, allocations: 86.58 kB / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.006546, allocations: 8 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006551, allocations: 4.75 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.006563, allocations: 0 / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.006666, allocations: 28.86 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006671, allocations: 0 / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.006708, allocations: 15.89 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.006715, allocations: 1.219 kB / 0.8167 GB, free: 12.22 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.939e-05/0.006784, allocations: 160.6 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.006806, allocations: 16.78 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.006937, allocations: 98.31 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.006939, allocations: 0 / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.006943, allocations: 2.219 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.006947, allocations: 3.984 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.007238, allocations: 400.3 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00724, allocations: 3.938 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.007291, allocations: 26.95 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.007295, allocations: 4 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.007303, allocations: 0 / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.007306, allocations: 4 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007308, allocations: 4 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.007446, allocations: 262.9 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.007456, allocations: 7.953 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.007469, allocations: 9.344 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/0.007522, allocations: 7.984 kB / 0.8177 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.007563, allocations: 11.98 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.007569, allocations: 7.938 kB / 0.8177 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.007627, allocations: 145.4 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007627, allocations: 0.5625 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000161/0.007788, allocations: 31.89 kB / 0.8179 GB, free: 10.94 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 8.015e-05/0.007868, allocations: 96.44 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.008006, allocations: 67.8 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008008, allocations: 0 / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.008055, allocations: 36.27 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.008262, allocations: 20.56 kB / 0.8181 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.008624, allocations: 266.3 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.008671, allocations: 67.28 kB / 0.8184 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.008703, allocations: 12.48 kB / 0.8184 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.008742, allocations: 12.5 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.008742, allocations: 0 / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.002812/0.01155, allocations: 1.018 MB / 0.8194 GB, free: 9.316 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.194235865026712]