Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001749/0.001749, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002148/0.002148, allocations: 218.8 kB / 23.01 MB, free: 4.605 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.344/3.344, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 65.75 kB / 1.178 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3454, allocations: 180.2 MB / 1.354 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002102/0.3475, allocations: 0.9059 MB / 1.355 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3487, allocations: 0.9172 MB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.3488, allocations: 7.938 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.939e-05/0.3489, allocations: 15.8 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.3489, allocations: 11.81 kB / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3491, allocations: 67.91 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3494, allocations: 135.8 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.3495, allocations: 41.61 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.3496, allocations: 55.78 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.3497, allocations: 67.67 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.3497, allocations: 12 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.3498, allocations: 12 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.3498, allocations: 27.92 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.3499, allocations: 63.66 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.3501, allocations: 139.3 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3501, allocations: 4 kB / 1.357 GB, free: 5.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3501, allocations: 0 / 1.357 GB, free: 5.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3501, allocations: 4 kB / 1.357 GB, free: 5.406 MB / 1.045 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.0006546/0.3507, allocations: 373.8 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3508, allocations: 11.97 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3508, allocations: 16.84 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.3511, allocations: 150.4 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3511, allocations: 12.38 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3511, allocations: 12.38 kB / 1.357 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.3515, allocations: 150.1 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3515, allocations: 192 / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3515, allocations: 11.94 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3515, allocations: 0 / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.3518, allocations: 131.9 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.3526, allocations: 459.3 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3528, allocations: 82.42 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3529, allocations: 48.83 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.353, allocations: 0 / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.353, allocations: 34.56 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.353, allocations: 0 / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004781/0.3535, allocations: 157.9 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3535, allocations: 51.41 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3537, allocations: 199.7 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3537, allocations: 29.64 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.3538, allocations: 124 kB / 1.359 GB, free: 3.223 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3539, allocations: 31.7 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.3539, allocations: 29.7 kB / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3541, allocations: 322.8 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3542, allocations: 43.97 kB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3543, allocations: 54.97 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.3545, allocations: 92.77 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3545, allocations: 3.938 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003166/0.3549, allocations: 149.5 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3549, allocations: 4 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3549, allocations: 0 / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3549, allocations: 8 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3551, allocations: 27.92 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3551, allocations: 0 / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3552, allocations: 19.88 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3552, allocations: 4 kB / 1.359 GB, free: 2.426 MB / 1.045 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.0001083/0.3553, allocations: 129.7 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.3553, allocations: 15.91 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.3557, allocations: 143 kB / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3557, allocations: 4 kB / 1.36 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3557, allocations: 0 / 1.36 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3557, allocations: 0 / 1.36 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.3563, allocations: 428 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3563, allocations: 4 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3564, allocations: 23.98 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3564, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3565, allocations: 4 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3565, allocations: 0 / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3565, allocations: 0 / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.3568, allocations: 246 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3569, allocations: 23.94 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3569, allocations: 3.938 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.357, allocations: 19.97 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3571, allocations: 15.86 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.3571, allocations: 8 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001236/0.3572, allocations: 140.1 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3572, allocations: 0 / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002557/0.3575, allocations: 24 kB / 1.36 GB, free: 1.109 MB / 1.045 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.0001314/0.3576, allocations: 99.23 kB / 1.361 GB, free: 1.004 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.3579, allocations: 95.89 kB / 1.361 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3579, allocations: 4 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.358, allocations: 43.91 kB / 1.361 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3583, allocations: 19.98 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.3588, allocations: 283.4 kB / 1.361 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3592, allocations: 0.7045 MB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.3593, allocations: 23.42 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3593, allocations: 0 / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of Templates: time 0.003283/0.3625, allocations: 1.566 MB / 1.363 GB, free: 14.21 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.340480113984086]