Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001387/0.001387, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001562/0.001562, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.124/3.124, allocations: 0.4892 GB / 0.7951 GB, free: 35.73 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.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [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.002065/0.002065, allocations: 69 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005386/0.3283, allocations: 3.465 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004467/0.3327, allocations: 2.416 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.3332, allocations: 19.81 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008031/0.334, allocations: 246.4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.3354, allocations: 0.5366 MB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.3368, allocations: 0.5573 MB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.3385, allocations: 1.406 MB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.3387, allocations: 97.72 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.3393, allocations: 438.5 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.3399, allocations: 474.1 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.34, allocations: 56 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.3402, allocations: 76 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.3407, allocations: 398.8 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.3411, allocations: 386.1 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009777/0.342, allocations: 0.9647 MB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.342, allocations: 0 / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.342, allocations: 0 / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3421, allocations: 0 / 1.337 GB, free: 6.32 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002367/0.3444, allocations: 1.236 MB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3445, allocations: 12.03 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.3447, allocations: 104.3 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3459, allocations: 0.6182 MB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.346, allocations: 45.03 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.3461, allocations: 60.27 kB / 1.34 GB, free: 4.191 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.3467, allocations: 414.9 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3467, allocations: 4 kB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.3468, allocations: 16 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3468, allocations: 8 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.3472, allocations: 238.4 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.35, allocations: 1.825 MB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.3515, allocations: 0.5259 MB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.3517, allocations: 144.8 kB / 1.343 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3518, allocations: 7.984 kB / 1.343 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3518, allocations: 34.56 kB / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.714e-06/0.3518, allocations: 0 / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001528/0.3533, allocations: 0.661 MB / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.3534, allocations: 59.34 kB / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.3546, allocations: 0.9192 MB / 1.344 GB, free: 15.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.3546, allocations: 41.7 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.355, allocations: 377.2 kB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.3551, allocations: 122.9 kB / 1.345 GB, free: 14.65 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.3553, allocations: 170.6 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3555, allocations: 394.7 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.3559, allocations: 253.8 kB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/0.3567, allocations: 0.6352 MB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.3578, allocations: 0.8918 MB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3578, allocations: 4 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00164/0.3594, allocations: 1.023 MB / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3595, allocations: 12 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3595, allocations: 12 kB / 1.348 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003864/0.3599, allocations: 122.5 kB / 1.348 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.3605, allocations: 195.6 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.3641, allocations: 4.091 MB / 1.352 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000877/0.365, allocations: 115.3 kB / 1.352 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.3651, allocations: 44 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003334/0.3654, allocations: 271.8 kB / 1.353 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3655, allocations: 87.38 kB / 1.353 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.3657, allocations: 80.41 kB / 1.353 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3657, allocations: 4 kB / 1.353 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3657, allocations: 4.062 kB / 1.353 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3657, allocations: 0 / 1.353 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.3663, allocations: 480.8 kB / 1.353 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3663, allocations: 0 / 1.353 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.3667, allocations: 63.95 kB / 1.353 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.3669, allocations: 114.4 kB / 1.354 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.367, allocations: 8 kB / 1.354 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.3704, allocations: 4.063 MB / 1.358 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3704, allocations: 3.984 kB / 1.358 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3716, allocations: 0.7396 MB / 1.358 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.3719, allocations: 131.3 kB / 1.358 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.372, allocations: 8 kB / 1.358 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.3725, allocations: 32.02 kB / 1.358 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3725, allocations: 23.95 kB / 1.358 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3725, allocations: 4 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008552/0.3734, allocations: 0.6239 MB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3734, allocations: 0 / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008223/0.3742, allocations: 267.9 kB / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001299/0.3744, allocations: 111.3 kB / 1.359 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.3757, allocations: 0.9005 MB / 1.36 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3757, allocations: 0 / 1.36 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006697/0.3764, allocations: 0.516 MB / 1.361 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.3772, allocations: 174 kB / 1.361 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.3798, allocations: 1.811 MB / 1.363 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.3802, allocations: 392.4 kB / 1.363 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.3804, allocations: 47.44 kB / 1.363 GB, free: 10.54 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3804, allocations: 0 / 1.363 GB, free: 10.54 MB / 1.061 GB Notification: Performance of Templates: time 0.02311/0.4035, allocations: 17.97 MB / 1.381 GB, free: 8.598 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 13.327275614254177]