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.001315/0.001315, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001485/0.001485, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.28/3.28, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002055/0.002055, allocations: 73.98 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 176.1 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002548/0.335, allocations: 0.838 MB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3363, allocations: 0.9134 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.3364, allocations: 7.938 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.3364, allocations: 11.86 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.3365, allocations: 15.75 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3367, allocations: 59.91 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.337, allocations: 135.8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.3371, allocations: 47.61 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.3372, allocations: 59.72 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.3373, allocations: 51.69 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3373, allocations: 12 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.3373, allocations: 12 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.3374, allocations: 31.86 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.3375, allocations: 55.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3376, allocations: 143.4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3376, allocations: 0 / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3376, allocations: 0 / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3377, allocations: 0 / 1.33 GB, free: 14.47 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.000639/0.3383, allocations: 369.8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3383, allocations: 12.03 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3384, allocations: 20.84 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3386, allocations: 154.1 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3387, allocations: 8.375 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3387, allocations: 16.36 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3391, allocations: 243.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3391, allocations: 192 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3391, allocations: 7.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3391, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.3394, allocations: 123.9 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.3401, allocations: 392 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3403, allocations: 82.48 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3404, allocations: 40.83 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3405, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3405, allocations: 38.56 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3405, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004647/0.341, allocations: 153.7 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.341, allocations: 55.41 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3412, allocations: 151.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3412, allocations: 26.08 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.3413, allocations: 119.9 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.3413, allocations: 35.69 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.3414, allocations: 25.72 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3415, allocations: 322.8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3416, allocations: 43.97 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3417, allocations: 47.97 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.342, allocations: 92.77 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.342, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000317/0.3423, allocations: 141.5 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3423, allocations: 5.562 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3423, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3424, allocations: 4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3425, allocations: 31.92 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3425, allocations: 3.984 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.3426, allocations: 11.89 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3426, allocations: 8 kB / 1.332 GB, free: 11.55 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 9.559e-05/0.3427, allocations: 113.8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.3428, allocations: 11.89 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.3431, allocations: 138.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3431, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3431, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3431, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.3437, allocations: 388.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3437, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3438, allocations: 19.98 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3438, allocations: 11.92 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3438, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3438, allocations: 4.094 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3438, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.3442, allocations: 241.9 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.3442, allocations: 7.953 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.3442, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3444, allocations: 15.98 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.3444, allocations: 12.11 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3444, allocations: 11.94 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.3445, allocations: 120.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002558/0.3448, allocations: 31.89 kB / 1.333 GB, free: 10.33 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.0001175/0.3449, allocations: 99.25 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.3452, allocations: 99.86 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3452, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3453, allocations: 47.98 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3456, allocations: 11.98 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.3461, allocations: 271.4 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3462, allocations: 102.2 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.3463, allocations: 23.44 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3463, allocations: 0 / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of Templates: time 0.003185/0.3495, allocations: 1.446 MB / 1.335 GB, free: 8.168 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/jenkins1/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: 11.136696917004883]