Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001735/0.001735, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002308/0.002308, allocations: 219 kB / 22.26 MB, free: 5.082 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 8.016 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.503/3.503, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) [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.002135/0.002135, allocations: 77.39 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4068, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005681/0.4124, allocations: 3.781 MB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00475/0.4172, allocations: 2.602 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006308/0.4178, allocations: 19.81 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008732/0.4187, allocations: 250.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.4201, allocations: 0.5379 MB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.4216, allocations: 0.5574 MB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.4237, allocations: 1.394 MB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.424, allocations: 105.7 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009183/0.4249, allocations: 454.5 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009565/0.4259, allocations: 0.5137 MB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.426, allocations: 52 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.4263, allocations: 71.98 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.4268, allocations: 375 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.4273, allocations: 461.6 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4284, allocations: 0.9257 MB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4284, allocations: 3.938 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4284, allocations: 0 / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.726e-05/0.4285, allocations: 0 / 1.338 GB, free: 5.855 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.002699/0.4312, allocations: 1.216 MB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4312, allocations: 8.031 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.478e-05/0.4313, allocations: 70.72 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/0.4316, allocations: 116.3 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.433, allocations: 0.6104 MB / 1.34 GB, free: 3.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.433, allocations: 37.03 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-05/0.4331, allocations: 60.12 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/0.4339, allocations: 399 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.4339, allocations: 4 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.4339, allocations: 8 kB / 1.34 GB, free: 3.238 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.4339, allocations: 12 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.4344, allocations: 226.4 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.4381, allocations: 2.467 MB / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4394, allocations: 456.2 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.4397, allocations: 161.1 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4397, allocations: 4.234 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.4397, allocations: 42.73 kB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/0.4397, allocations: 0 / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.002347/0.4421, allocations: 1.063 MB / 1.344 GB, free: 14.58 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.4421, allocations: 55.41 kB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.4435, allocations: 0.931 MB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.4435, allocations: 37.7 kB / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.4439, allocations: 373.2 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.444, allocations: 119 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.4443, allocations: 170.6 kB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.4445, allocations: 394.7 kB / 1.346 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.4449, allocations: 233.8 kB / 1.347 GB, free: 12.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.4457, allocations: 0.6196 MB / 1.347 GB, free: 11.44 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.4489, allocations: 1.612 MB / 1.349 GB, free: 9.637 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.4489, allocations: 7.938 kB / 1.349 GB, free: 9.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001617/0.4506, allocations: 0.8964 MB / 1.35 GB, free: 8.723 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.4506, allocations: 12.19 kB / 1.35 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.4506, allocations: 20 kB / 1.35 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.4508, allocations: 48.83 kB / 1.35 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.4516, allocations: 207.6 kB / 1.35 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.4534, allocations: 1.357 MB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009613/0.4543, allocations: 44.12 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.4544, allocations: 44 kB / 1.351 GB, free: 6.879 MB / 1.045 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005368/0.455, allocations: 312.8 kB / 1.352 GB, free: 6.566 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.4552, allocations: 91.33 kB / 1.352 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.4554, allocations: 80.53 kB / 1.352 GB, free: 6.395 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4554, allocations: 4 kB / 1.352 GB, free: 6.391 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4554, allocations: 0 / 1.352 GB, free: 6.391 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.4555, allocations: 3.984 kB / 1.352 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.4577, allocations: 1.106 MB / 1.353 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4577, allocations: 4 kB / 1.353 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4581, allocations: 91.94 kB / 1.353 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.4583, allocations: 32.83 kB / 1.353 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.4583, allocations: 8 kB / 1.353 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.4595, allocations: 1.334 MB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4595, allocations: 3.984 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4606, allocations: 0.6768 MB / 1.355 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.4611, allocations: 123.4 kB / 1.355 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.4613, allocations: 8 kB / 1.355 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.4618, allocations: 27.97 kB / 1.355 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.4619, allocations: 19.97 kB / 1.355 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.4619, allocations: 11.98 kB / 1.355 GB, free: 2.727 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001023/0.4629, allocations: 0.6239 MB / 1.356 GB, free: 2.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4629, allocations: 0 / 1.356 GB, free: 2.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008801/0.4638, allocations: 215.9 kB / 1.356 GB, free: 1.898 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001455/0.4652, allocations: 1.213 MB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.4665, allocations: 0.6149 MB / 1.358 GB, free: 20 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4666, allocations: 0 / 1.358 GB, free: 20 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.467, allocations: 254.7 kB / 1.358 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009179/0.4679, allocations: 182.4 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.4788, allocations: 7.455 MB / 1.366 GB, free: 7.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.4796, allocations: 0.9875 MB / 1.366 GB, free: 6.555 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004295/0.48, allocations: 157.8 kB / 1.367 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.4804, allocations: 291.3 kB / 1.367 GB, free: 6.113 MB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/0.4804, allocations: 0 / 1.367 GB, free: 6.113 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/0.5366, allocations: 16.55 MB / 1.383 GB, free: 5.828 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.82, allocations: 5.656 kB / 1.383 GB, free: 5.824 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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: 21.121989640872926]