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.000984/0.000984, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001013/0.001013, allocations: 161 kB / 24.17 MB, free: 332 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 1.067/1.067, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.007/2.007, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.924e-06/1.924e-06, allocations: 0 / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.31e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001685/0.001708, allocations: 0.9234 MB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.002798, allocations: 0.9423 MB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.002879, allocations: 4 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.002919, allocations: 12.56 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.002997, allocations: 11.05 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.003186, allocations: 76.75 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.003357, allocations: 135.1 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.003492, allocations: 47.31 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.003594, allocations: 75.86 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.003647, allocations: 43.86 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.003672, allocations: 13.03 kB / 0.7624 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.003688, allocations: 16 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.00372, allocations: 31.86 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.003755, allocations: 36.42 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.003877, allocations: 101.3 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00388, allocations: 0 / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.003882, allocations: 0 / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.003886, allocations: 0 / 0.7625 GB, free: 4.086 MB / 0.7136 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.0004099/0.004296, allocations: 333.7 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.004329, allocations: 8.031 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.004372, allocations: 25.67 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.004548, allocations: 150.9 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.004562, allocations: 8.375 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.004579, allocations: 21.97 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.004772, allocations: 193 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00478, allocations: 192 / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004791, allocations: 4.375 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004796, allocations: 4.969 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.00485, allocations: 43.91 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.005244, allocations: 304.9 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.005318, allocations: 51.17 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.005343, allocations: 13.89 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.00536, allocations: 4 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.005381, allocations: 35.72 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.005382, allocations: 0 / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002788/0.005661, allocations: 77.73 kB / 0.7638 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.005685, allocations: 56.94 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.005762, allocations: 141 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.005774, allocations: 29.7 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.005823, allocations: 119.8 kB / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.005839, allocations: 34.45 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.005877, allocations: 37.69 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.005952, allocations: 322.8 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.005973, allocations: 11.94 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.005995, allocations: 15.11 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.006049, allocations: 36.83 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006051, allocations: 0 / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.396e-05/0.006135, allocations: 65.67 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.006147, allocations: 6.062 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006151, allocations: 0 / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.006163, allocations: 3.984 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.00626, allocations: 27.88 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.006263, allocations: 4 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.0063, allocations: 20.81 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.006308, allocations: 4 kB / 0.7646 GB, free: 1.758 MB / 0.7136 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.478e-05/0.006373, allocations: 110.6 kB / 0.7648 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.006394, allocations: 11.98 kB / 0.7648 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.006509, allocations: 78.88 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006511, allocations: 2.875 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.006513, allocations: 3.938 kB / 0.7648 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.006517, allocations: 4 kB / 0.7649 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.006754, allocations: 269.2 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.006755, allocations: 0 / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.00681, allocations: 19.98 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006812, allocations: 2.438 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006819, allocations: 7.938 kB / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.006821, allocations: 0 / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006822, allocations: 0 / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.006937, allocations: 182 kB / 0.7653 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.006954, allocations: 19.86 kB / 0.7653 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.006968, allocations: 9.375 kB / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.007022, allocations: 11.94 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.007058, allocations: 11.92 kB / 0.7654 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.007065, allocations: 7.062 kB / 0.7654 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.007091, allocations: 28.84 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007091, allocations: 0 / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001441/0.007235, allocations: 19.95 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 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.0001015/0.007336, allocations: 84.41 kB / 0.7655 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.007436, allocations: 52.77 kB / 0.7655 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.007439, allocations: 0 / 0.7655 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.007472, allocations: 36.59 kB / 0.7656 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.007653, allocations: 13.56 kB / 0.7656 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.008012, allocations: 247.7 kB / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.589e-05/0.008058, allocations: 67.33 kB / 0.7659 GB, free: 360 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.008091, allocations: 8.5 kB / 0.7659 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.008165, allocations: 69.98 kB / 0.766 GB, free: 284 kB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.008165, allocations: 0 / 0.766 GB, free: 284 kB / 0.7136 GB Notification: Performance of Templates: time 0.002805/0.01097, allocations: 0.9968 MB / 0.7669 GB, free: 15.33 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 -s gbode -gbm=radauIIA3 -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.134278754238039]