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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 191.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002006/0.002006, allocations: 62.7 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4311, allocations: 173.6 MB / 1.307 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002768/0.4339, allocations: 0.9079 MB / 1.308 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.4352, allocations: 0.8936 MB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.4353, allocations: 7.938 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.4354, allocations: 11.81 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.03e-05/0.4355, allocations: 11.88 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.4357, allocations: 63.91 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.436, allocations: 147.7 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.4362, allocations: 46.95 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4363, allocations: 51.84 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.4364, allocations: 59.7 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.4365, allocations: 15.98 kB / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.175e-05/0.4365, allocations: 12 kB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.4365, allocations: 31.91 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.953e-05/0.4366, allocations: 63.59 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.4368, allocations: 139.4 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4368, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4368, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4368, allocations: 7.938 kB / 1.31 GB, free: 15.24 MB / 1.014 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.0007646/0.4376, allocations: 365.8 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4376, allocations: 8.922 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.4377, allocations: 16.84 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.438, allocations: 154.3 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.438, allocations: 20.31 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.4381, allocations: 12.38 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.4384, allocations: 154.7 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4384, allocations: 192 / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.4384, allocations: 11.94 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4384, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.4388, allocations: 131.9 kB / 1.311 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.4396, allocations: 463.2 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.4398, allocations: 90.36 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.4399, allocations: 44.83 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.4399, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.44, allocations: 34.56 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.44, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0004786/0.4404, allocations: 157.7 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4405, allocations: 55.41 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.4407, allocations: 196.6 kB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4407, allocations: 25.7 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.4408, allocations: 120 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.4409, allocations: 35.69 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.4409, allocations: 25.72 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4411, allocations: 330.8 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4412, allocations: 35.98 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.4413, allocations: 50.91 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.4416, allocations: 92.81 kB / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4416, allocations: 0 / 1.312 GB, free: 12.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003237/0.4419, allocations: 149.5 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4419, allocations: 4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4419, allocations: 4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.442, allocations: 4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.4421, allocations: 31.92 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.4421, allocations: 0 / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.4422, allocations: 19.83 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.4422, allocations: 4 kB / 1.312 GB, free: 12.26 MB / 1.014 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.0001096/0.4424, allocations: 125.7 kB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.4424, allocations: 11.95 kB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.4428, allocations: 143.3 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4428, allocations: 4.094 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4428, allocations: 3.938 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4428, allocations: 0 / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.4434, allocations: 427.9 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4434, allocations: 4 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4435, allocations: 23.92 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4435, allocations: 0 / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4435, allocations: 4 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4435, allocations: 3.984 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4435, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.4439, allocations: 242 kB / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.4439, allocations: 27.83 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.4439, allocations: 4 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.4441, allocations: 15.98 kB / 1.313 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.4441, allocations: 19.86 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4441, allocations: 4 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001292/0.4443, allocations: 148.1 kB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4443, allocations: 0 / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002545/0.4445, allocations: 20 kB / 1.314 GB, free: 10.95 MB / 1.014 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.0001393/0.4447, allocations: 95.25 kB / 1.314 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.445, allocations: 99.88 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.445, allocations: 0 / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.4451, allocations: 47.91 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.4454, allocations: 13.09 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.446, allocations: 265.6 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4463, allocations: 0.7084 MB / 1.315 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.546e-05/0.4464, allocations: 17.06 kB / 1.315 GB, free: 9.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.4464, allocations: 15.44 kB / 1.315 GB, free: 9.637 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.4464, allocations: 4 kB / 1.315 GB, free: 9.633 MB / 1.014 GB Notification: Performance of Templates: time 0.004363/0.4508, allocations: 1.23 MB / 1.316 GB, free: 8.41 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] 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: 9.654496427625418]