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.001195/0.001195, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009704/0.0009704, allocations: 161 kB / 23.82 MB, free: 0.7539 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.046/1.046, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.959/1.959, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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 3.466e-06/3.466e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.818e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002537/0.002575, allocations: 0.8827 MB / 0.8125 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004006, allocations: 0.9334 MB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.004125, allocations: 4.938 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.64e-05/0.004181, allocations: 11.86 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.004282, allocations: 9.469 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.00457, allocations: 67.84 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.004823, allocations: 139.7 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.00501, allocations: 41.66 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.005145, allocations: 76.84 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.005231, allocations: 39.86 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.005267, allocations: 16 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.005293, allocations: 12.78 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.005334, allocations: 31.89 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.005391, allocations: 45.53 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.005561, allocations: 95.56 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.005565, allocations: 0 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005567, allocations: 0 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.005573, allocations: 5.531 kB / 0.814 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.0006133/0.006186, allocations: 460.1 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.006231, allocations: 9.781 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.006298, allocations: 24.84 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.006529, allocations: 164.3 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.006547, allocations: 8.969 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.006577, allocations: 17.31 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.006901, allocations: 209 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.00692, allocations: 4.688 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.00694, allocations: 4.375 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.006952, allocations: 5.75 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.007103, allocations: 67.88 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.00781, allocations: 421.9 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.007954, allocations: 67.03 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.008008, allocations: 23.81 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.008035, allocations: 0 / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.008067, allocations: 45.38 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.00807, allocations: 0.5312 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002959/0.008365, allocations: 97.41 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.008398, allocations: 52.12 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.008543, allocations: 200.7 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.008562, allocations: 26.23 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.008655, allocations: 180.2 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.008684, allocations: 35.69 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.008739, allocations: 27.38 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.008897, allocations: 0.4884 MB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.008951, allocations: 19.98 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.008996, allocations: 16.44 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.009103, allocations: 58.2 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009106, allocations: 0.7812 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001795/0.009285, allocations: 85.64 kB / 0.8167 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.009301, allocations: 9.156 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.00931, allocations: 3.938 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.009328, allocations: 3.984 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.009478, allocations: 29.36 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009485, allocations: 0 / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.009548, allocations: 15.88 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.00956, allocations: 7.938 kB / 0.8167 GB, free: 12.21 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 9.17e-05/0.009651, allocations: 158.2 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.009689, allocations: 11.95 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.009912, allocations: 102.3 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.009915, allocations: 0.9375 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.009919, allocations: 0 / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.009923, allocations: 0 / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.01041, allocations: 397.2 kB / 0.8174 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.01041, allocations: 6.219 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.01051, allocations: 19.92 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.01052, allocations: 4 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01053, allocations: 0 / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.01054, allocations: 8 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.01055, allocations: 80 / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.01081, allocations: 269.6 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.01083, allocations: 7.953 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01086, allocations: 4 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01096, allocations: 11.98 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.01102, allocations: 11.98 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01103, allocations: 4 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.814e-05/0.01111, allocations: 145.3 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01111, allocations: 0 / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003046/0.01141, allocations: 31.83 kB / 0.8179 GB, free: 10.95 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.0001293/0.01154, allocations: 99.73 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.01172, allocations: 59.95 kB / 0.818 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.01172, allocations: 4 kB / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.01178, allocations: 40.64 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.01214, allocations: 19.83 kB / 0.8181 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.01272, allocations: 262.1 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.408e-05/0.01278, allocations: 74.91 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.01282, 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 4.933e-05/0.01287, allocations: 12.5 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.01287, allocations: 0 / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.003899/0.01677, allocations: 0.9789 MB / 0.8194 GB, free: 9.355 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.540569846052676]