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.001806/0.001806, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00214/0.00214, allocations: 222.9 kB / 23 MB, free: 4.914 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.144/3.144, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] 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.002158/0.002158, allocations: 71.59 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002196/0.3366, allocations: 0.8441 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.338, allocations: 0.9172 MB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.3381, allocations: 0 / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.3381, allocations: 11.81 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3382, allocations: 11.81 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.3385, allocations: 71.89 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3387, allocations: 135.7 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3388, allocations: 41.66 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.926e-05/0.3389, allocations: 51.83 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.339, allocations: 55.69 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.339, allocations: 12 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.251e-05/0.3391, allocations: 16 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.3391, allocations: 31.86 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.3392, allocations: 51.72 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3394, allocations: 143.3 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3394, allocations: 3.984 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3394, allocations: 4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3394, allocations: 3.938 kB / 1.329 GB, free: 15.43 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.000647/0.34, allocations: 365.8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3401, allocations: 8.031 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.3401, allocations: 16.84 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.3404, allocations: 150.3 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3404, allocations: 16.38 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3404, allocations: 12.38 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.3408, allocations: 227.2 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3408, allocations: 192 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.3409, allocations: 15.92 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3409, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.3412, allocations: 131.9 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.3419, allocations: 400 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.3421, allocations: 70.55 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3423, allocations: 44.83 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3423, allocations: 7.938 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3423, allocations: 34.69 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3423, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004729/0.3428, allocations: 157.5 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.3429, allocations: 51.41 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.343, allocations: 147.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.343, allocations: 29.7 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.3431, allocations: 123.9 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3432, allocations: 35.69 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.3432, allocations: 25.72 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3434, allocations: 322.8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3435, allocations: 39.97 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3436, allocations: 43.23 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.3439, allocations: 96.81 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3439, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003337/0.3442, allocations: 145.8 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3442, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3442, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3442, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3444, allocations: 31.92 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3444, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.3445, allocations: 19.88 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3445, allocations: 0 / 1.331 GB, free: 12.52 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.0001164/0.3446, allocations: 125.8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.3446, allocations: 11.89 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.345, allocations: 138.3 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.345, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.345, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.345, allocations: 3.984 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.3456, allocations: 380.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3456, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3457, allocations: 27.92 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3457, allocations: 3.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3457, allocations: 8.094 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3457, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3457, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3461, allocations: 241.9 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3461, allocations: 11.94 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3461, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3463, allocations: 15.98 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.3463, allocations: 7.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3463, allocations: 11.94 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.634e-05/0.3464, allocations: 113.2 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002584/0.3467, allocations: 31.89 kB / 1.332 GB, free: 11.31 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.0001212/0.3468, allocations: 103.2 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.3471, allocations: 87.89 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3471, allocations: 4.188 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3472, allocations: 51.91 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3475, allocations: 19.92 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.348, allocations: 271.4 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.772e-05/0.3481, allocations: 98.33 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.3482, allocations: 19.42 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3482, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of Templates: time 0.003299/0.3515, allocations: 1.46 MB / 1.334 GB, free: 9.137 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.14836758794263]