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.001632/0.001632, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001833/0.001833, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.45/3.45, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002193/0.002193, allocations: 67.72 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4276, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002322/0.43, allocations: 0.8434 MB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.4312, allocations: 0.9211 MB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.4313, allocations: 0 / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.4314, allocations: 15.8 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.283e-05/0.4315, allocations: 11.88 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.4317, allocations: 63.91 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.4319, allocations: 135.7 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.4321, allocations: 45.64 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.4322, allocations: 51.84 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.4323, allocations: 51.69 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.4323, allocations: 20 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.27e-05/0.4324, allocations: 12 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.4324, allocations: 27.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.4325, allocations: 51.7 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.4327, allocations: 147.3 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4327, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4327, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.4327, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 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.0006804/0.4334, allocations: 369.8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4334, allocations: 8.031 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.4335, allocations: 20.84 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.4338, allocations: 150.3 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.4338, allocations: 12.38 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.4338, allocations: 12.38 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.4342, allocations: 227.2 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4342, allocations: 192 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.4343, allocations: 15.94 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4343, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.4346, allocations: 123.9 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007499/0.4353, allocations: 388 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.4356, allocations: 86.45 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.4357, allocations: 44.84 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4357, allocations: 3.938 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.4358, allocations: 34.75 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.4358, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004961/0.4363, allocations: 149.5 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.4363, allocations: 63.33 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4364, allocations: 143.2 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4365, allocations: 33.64 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.4366, allocations: 119.9 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.4366, allocations: 35.69 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.4367, allocations: 25.72 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4368, allocations: 322.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.437, allocations: 43.97 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4371, allocations: 42.47 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.4373, allocations: 92.83 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4373, allocations: 7.984 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003551/0.4377, allocations: 141.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4377, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4377, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4377, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4379, allocations: 27.98 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4379, allocations: 3.984 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.438, allocations: 19.89 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.438, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 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.000107/0.4381, allocations: 121.8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.4381, allocations: 11.89 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.4385, allocations: 138.7 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4385, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4385, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4385, allocations: 4.031 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.4391, allocations: 384.5 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4391, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.4392, allocations: 23.98 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.4393, allocations: 3.984 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4393, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4393, allocations: 3.938 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4393, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.4396, allocations: 246 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.4397, allocations: 7.953 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.4397, allocations: 4 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4398, allocations: 11.98 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.4399, allocations: 11.98 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4399, allocations: 7.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001108/0.44, allocations: 120.9 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.44, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002651/0.4403, allocations: 23.89 kB / 1.332 GB, free: 11.3 MB / 1.029 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.0001389/0.4404, allocations: 107.2 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.4407, allocations: 99.75 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4407, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4409, allocations: 43.91 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4412, allocations: 15.98 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.4417, allocations: 253.9 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.4418, allocations: 98.12 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.716e-05/0.4419, allocations: 4.5 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.4419, allocations: 15.44 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4419, allocations: 4 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of Templates: time 0.004048/0.446, allocations: 1.053 MB / 1.333 GB, free: 9.559 MB / 1.029 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.77102966979146]