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.002493/0.002493, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002888/0.002888, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.069/3.069, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.825e-06/2.825e-06, allocations: 0 / 0.8109 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/3.929e-05, allocations: 2.312 kB / 0.8109 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002431/0.00247, allocations: 0.8593 MB / 0.8117 GB, free: 52 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.003925, allocations: 0.9133 MB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.004025, allocations: 4.594 kB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.004067, allocations: 11.86 kB / 0.8126 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.004186, allocations: 20.89 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.004421, allocations: 59.91 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.004684, allocations: 136.2 kB / 0.8128 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.004857, allocations: 46.86 kB / 0.8129 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.005012, allocations: 75.86 kB / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.005108, allocations: 43.81 kB / 0.813 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.005147, allocations: 12 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.65e-05/0.005174, allocations: 17.91 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.005227, allocations: 35.89 kB / 0.813 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.00529, allocations: 35.91 kB / 0.8131 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.005521, allocations: 147.5 kB / 0.8132 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.005526, allocations: 4 kB / 0.8132 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.252e-06/0.005528, allocations: 1.344 kB / 0.8132 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.005533, allocations: 0 / 0.8132 GB, free: 14.49 MB / 0.7292 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.0007968/0.00633, allocations: 473.3 kB / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.006373, allocations: 8.031 kB / 0.8137 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.006455, allocations: 28.84 kB / 0.8137 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.006726, allocations: 169.7 kB / 0.8139 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.006748, allocations: 12.38 kB / 0.8139 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.006774, allocations: 12.38 kB / 0.8139 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.007189, allocations: 212.3 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.007201, allocations: 0.6875 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.007228, allocations: 16.89 kB / 0.8141 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.007235, allocations: 5.094 kB / 0.8141 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.00751, allocations: 111.9 kB / 0.8142 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.00837, allocations: 457.3 kB / 0.8147 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.008581, allocations: 94.91 kB / 0.8148 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.008689, allocations: 40.2 kB / 0.8148 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.008718, allocations: 1.312 kB / 0.8148 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.008756, allocations: 37.39 kB / 0.8148 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.008757, allocations: 0 / 0.8148 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000447/0.009204, allocations: 142.8 kB / 0.815 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.009252, allocations: 55.41 kB / 0.815 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.009456, allocations: 219.8 kB / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.009485, allocations: 31.08 kB / 0.8153 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.00961, allocations: 166.6 kB / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.00965, allocations: 35.67 kB / 0.8155 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.009717, allocations: 32.88 kB / 0.8155 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002857/0.01, allocations: 0.4962 MB / 0.816 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.01011, allocations: 35.98 kB / 0.816 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.0102, allocations: 35.98 kB / 0.816 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.01041, allocations: 92.69 kB / 0.8161 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01041, allocations: 0 / 0.8161 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004136/0.01083, allocations: 126.4 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.01084, allocations: 8 kB / 0.8163 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01085, allocations: 5.406 kB / 0.8163 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.01088, allocations: 0 / 0.8163 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.01103, allocations: 35.86 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01104, allocations: 1.062 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.01112, allocations: 4 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01113, allocations: 0 / 0.8163 GB, free: 11.14 MB / 0.7292 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 0.0001367/0.01127, allocations: 170.6 kB / 0.8165 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.01131, allocations: 15.94 kB / 0.8165 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.01163, allocations: 130.3 kB / 0.8166 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01163, allocations: 0 / 0.8166 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01164, allocations: 2.344 kB / 0.8166 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.01164, allocations: 3.984 kB / 0.8166 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.01228, allocations: 448.2 kB / 0.817 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01228, allocations: 8 kB / 0.817 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.827e-05/0.01238, allocations: 20.48 kB / 0.8171 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01238, allocations: 0.5312 kB / 0.8171 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01239, allocations: 0 / 0.8171 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01239, allocations: 5.938 kB / 0.8171 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01239, allocations: 0 / 0.8171 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.01279, allocations: 298.8 kB / 0.8174 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.01282, allocations: 11.94 kB / 0.8174 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.01284, allocations: 8.938 kB / 0.8174 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.01295, allocations: 4 kB / 0.8174 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.01301, allocations: 16.67 kB / 0.8174 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.01302, allocations: 4 kB / 0.8174 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001208/0.01314, allocations: 157.4 kB / 0.8175 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01314, allocations: 0 / 0.8175 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000254/0.0134, allocations: 32.55 kB / 0.8176 GB, free: 9.73 MB / 0.7292 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.0001497/0.01355, allocations: 102.5 kB / 0.8177 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.01384, allocations: 102.4 kB / 0.8178 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01384, allocations: 0 / 0.8178 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.01396, allocations: 51.61 kB / 0.8178 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.01426, allocations: 18.28 kB / 0.8178 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.01484, allocations: 269.9 kB / 0.8181 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.01495, allocations: 91.22 kB / 0.8182 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.852e-05/0.015, allocations: 9.609 kB / 0.8182 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.01504, allocations: 16.5 kB / 0.8182 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.01504, allocations: 5 kB / 0.8182 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of Templates: time 0.00436/0.0194, allocations: 0.9914 MB / 0.8192 GB, free: 8.055 MB / 0.7292 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.2701286530355]