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.001345/0.001345, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001498/0.001498, allocations: 191.1 kB / 22.1 MB, free: 4.25 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.551/1.551, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.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 2.959/2.959, allocations: 495.8 MB / 0.7831 GB, free: 12.3 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.002097/0.002097, allocations: 67.89 kB / 1.137 GB, free: 12.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25/1.252, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001886/1.254, allocations: 0.9001 MB / 1.308 GB, free: 33.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000895/1.255, allocations: 0.8981 MB / 1.309 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/1.255, allocations: 3.938 kB / 1.309 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/1.255, allocations: 11.06 kB / 1.309 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/1.255, allocations: 10.72 kB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/1.255, allocations: 71.31 kB / 1.309 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/1.256, allocations: 138.8 kB / 1.309 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/1.256, allocations: 50.89 kB / 1.309 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/1.256, allocations: 48.39 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/1.256, allocations: 64.03 kB / 1.309 GB, free: 32.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/1.256, allocations: 11.81 kB / 1.309 GB, free: 32.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/1.256, allocations: 19.06 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/1.256, allocations: 25.84 kB / 1.309 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/1.256, allocations: 65.58 kB / 1.309 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/1.256, allocations: 137.1 kB / 1.309 GB, free: 32.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.256, allocations: 8 kB / 1.309 GB, free: 32.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/1.256, allocations: 3.125 kB / 1.309 GB, free: 32.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.132e-06/1.256, allocations: 0 / 1.309 GB, free: 32.15 MB / 1.061 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.0005723/1.257, allocations: 357.8 kB / 1.31 GB, free: 31.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/1.257, allocations: 11.25 kB / 1.31 GB, free: 31.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/1.257, allocations: 14.84 kB / 1.31 GB, free: 31.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/1.257, allocations: 175 kB / 1.31 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/1.257, allocations: 10.25 kB / 1.31 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/1.257, allocations: 12.78 kB / 1.31 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/1.257, allocations: 148.6 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.257, allocations: 7 kB / 1.31 GB, free: 31.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/1.257, allocations: 7.938 kB / 1.31 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/1.257, allocations: 2.531 kB / 1.31 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/1.258, allocations: 133.5 kB / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/1.258, allocations: 460.5 kB / 1.31 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/1.259, allocations: 76.81 kB / 1.311 GB, free: 31.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/1.259, allocations: 52.31 kB / 1.311 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/1.259, allocations: 3.125 kB / 1.311 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.259, allocations: 30.56 kB / 1.311 GB, free: 31.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/1.259, allocations: 0 / 1.311 GB, free: 31.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004451/1.259, allocations: 158.3 kB / 1.311 GB, free: 31.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/1.259, allocations: 62.22 kB / 1.311 GB, free: 30.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/1.259, allocations: 190.9 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.259, allocations: 28.48 kB / 1.311 GB, free: 30.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/1.259, allocations: 113.2 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/1.259, allocations: 34.05 kB / 1.311 GB, free: 30.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/1.26, allocations: 29.64 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/1.26, allocations: 325 kB / 1.312 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/1.26, allocations: 41.47 kB / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/1.26, allocations: 45.44 kB / 1.312 GB, free: 30.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/1.26, allocations: 93.48 kB / 1.312 GB, free: 30.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.26, allocations: 0 / 1.312 GB, free: 30.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002721/1.26, allocations: 144.7 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.26, allocations: 7.312 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/1.26, allocations: 4 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.26, allocations: 0 / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/1.26, allocations: 26.7 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.26, allocations: 2.875 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.527e-05/1.261, allocations: 24.92 kB / 1.312 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/1.261, allocations: 2.875 kB / 1.312 GB, free: 30.14 MB / 1.061 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.612e-05/1.261, allocations: 128.9 kB / 1.312 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/1.261, allocations: 12.73 kB / 1.312 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/1.261, allocations: 146.7 kB / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.261, allocations: 2.938 kB / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.261, allocations: 0 / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.261, allocations: 3.375 kB / 1.312 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/1.261, allocations: 436 kB / 1.313 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.261, allocations: 0 / 1.313 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.262, allocations: 26.19 kB / 1.313 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.262, allocations: 0 / 1.313 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.262, allocations: 6.922 kB / 1.313 GB, free: 29.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.262, allocations: 0 / 1.313 GB, free: 29.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.262, allocations: 3.344 kB / 1.313 GB, free: 29.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/1.262, allocations: 249.6 kB / 1.313 GB, free: 29.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/1.262, allocations: 20.61 kB / 1.313 GB, free: 29.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/1.262, allocations: 0 / 1.313 GB, free: 29.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/1.262, allocations: 21.72 kB / 1.313 GB, free: 29.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/1.262, allocations: 17.45 kB / 1.313 GB, free: 29.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/1.262, allocations: 2.781 kB / 1.313 GB, free: 29.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.49e-05/1.262, allocations: 150.4 kB / 1.313 GB, free: 29.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.262, allocations: 0 / 1.313 GB, free: 29.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002407/1.262, allocations: 22.91 kB / 1.313 GB, free: 29.22 MB / 1.061 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.0001141/1.263, allocations: 98.88 kB / 1.313 GB, free: 29.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002922/1.263, allocations: 99.17 kB / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.263, allocations: 0 / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/1.263, allocations: 48.73 kB / 1.313 GB, free: 29.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/1.263, allocations: 16.84 kB / 1.313 GB, free: 29.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/1.264, allocations: 257.1 kB / 1.314 GB, free: 28.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/1.264, allocations: 0.7094 MB / 1.314 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.889e-05/1.264, allocations: 16.69 kB / 1.314 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/1.264, allocations: 20.03 kB / 1.314 GB, free: 28.16 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.264, allocations: 0 / 1.314 GB, free: 28.16 MB / 1.061 GB Notification: Performance of Templates: time 0.003833/1.268, allocations: 1.215 MB / 1.316 GB, free: 28.06 MB / 1.061 GB " [Timeout remaining time 299] 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.977182177826762]