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.001347/0.001347, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001739/0.001739, allocations: 224.3 kB / 22.25 MB, free: 5.258 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.777 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.218/3.218, allocations: 0.49 GB / 0.7951 GB, free: 35.37 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.002799/0.002799, allocations: 64.88 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5026, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005327/0.5079, allocations: 3.446 MB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00448/0.5124, allocations: 2.412 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.5127, allocations: 19.81 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.5135, allocations: 250.4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.5147, allocations: 0.5444 MB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.5162, allocations: 0.5673 MB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.5182, allocations: 1.387 MB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.5185, allocations: 97.73 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008888/0.5194, allocations: 458.5 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009429/0.5203, allocations: 0.5098 MB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.5204, allocations: 56 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.5206, allocations: 68 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000472/0.5211, allocations: 382.9 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004551/0.5215, allocations: 382.1 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.5227, allocations: 0.9296 MB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5227, allocations: 0 / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5227, allocations: 0 / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.5227, allocations: 0 / 1.337 GB, free: 6.016 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.002515/0.5252, allocations: 1.226 MB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5253, allocations: 8.031 kB / 1.338 GB, free: 4.746 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.5254, allocations: 70.72 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/0.5257, allocations: 108.3 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.527, allocations: 0.6065 MB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.527, allocations: 44.97 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5271, allocations: 64.08 kB / 1.339 GB, free: 3.828 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.5278, allocations: 403 kB / 1.339 GB, free: 3.398 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5278, allocations: 0 / 1.339 GB, free: 3.398 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.5278, allocations: 12 kB / 1.339 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.5278, allocations: 12 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.5282, allocations: 222.4 kB / 1.34 GB, free: 3.16 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.003067/0.5313, allocations: 1.852 MB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.5327, allocations: 472.4 kB / 1.342 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.5329, allocations: 141.2 kB / 1.342 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.533, allocations: 4.234 kB / 1.342 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.533, allocations: 34.8 kB / 1.342 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.295e-06/0.533, allocations: 0 / 1.342 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.002233/0.5352, allocations: 1.071 MB / 1.343 GB, free: 15.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.5353, allocations: 59.41 kB / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.5366, allocations: 0.9271 MB / 1.344 GB, free: 14.45 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.5366, allocations: 41.7 kB / 1.344 GB, free: 14.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.5369, allocations: 381.2 kB / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5371, allocations: 111 kB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.5373, allocations: 166.6 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.5375, allocations: 402.7 kB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.5379, allocations: 225.8 kB / 1.345 GB, free: 13.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.5387, allocations: 0.6196 MB / 1.346 GB, free: 12.32 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.003222/0.5419, allocations: 1.611 MB / 1.348 GB, free: 10.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.5419, allocations: 7.938 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001587/0.5435, allocations: 0.908 MB / 1.348 GB, free: 9.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5435, allocations: 8 kB / 1.349 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.5435, allocations: 16 kB / 1.349 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.5437, allocations: 44.84 kB / 1.349 GB, free: 9.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.5444, allocations: 215.9 kB / 1.349 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.5458, allocations: 1.361 MB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.5467, allocations: 43.97 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.5467, allocations: 44 kB / 1.35 GB, free: 7.746 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.0004333/0.5471, allocations: 313.2 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.5473, allocations: 87.38 kB / 1.351 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.5474, allocations: 84.52 kB / 1.351 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5474, allocations: 0 / 1.351 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5474, allocations: 4 kB / 1.351 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5474, allocations: 0 / 1.351 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.5492, allocations: 1.011 MB / 1.352 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5492, allocations: 4.031 kB / 1.352 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.5496, allocations: 83.88 kB / 1.352 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.5497, allocations: 32.83 kB / 1.352 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.5497, allocations: 12 kB / 1.352 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.5509, allocations: 1.33 MB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5509, allocations: 0 / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.5519, allocations: 0.6674 MB / 1.354 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.5522, allocations: 119.6 kB / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.5523, allocations: 23.98 kB / 1.354 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.5528, allocations: 11.98 kB / 1.354 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.5529, allocations: 35.95 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.5529, allocations: 12 kB / 1.354 GB, free: 3.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000917/0.5538, allocations: 0.6278 MB / 1.355 GB, free: 3.078 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5538, allocations: 0 / 1.355 GB, free: 3.078 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008082/0.5546, allocations: 207.9 kB / 1.355 GB, free: 2.875 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.001351/0.556, allocations: 1.208 MB / 1.356 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.5573, allocations: 0.6175 MB / 1.357 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5573, allocations: 4 kB / 1.357 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.5577, allocations: 259.8 kB / 1.357 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.5586, allocations: 176.5 kB / 1.357 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.5695, allocations: 7.446 MB / 1.364 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.57, allocations: 396.2 kB / 1.365 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005528/0.5705, allocations: 157.8 kB / 1.365 GB, free: 7.984 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.571, allocations: 295.3 kB / 1.365 GB, free: 7.695 MB / 1.061 GB Notification: Performance of SimCode: time 1.673e-06/0.571, allocations: 0 / 1.365 GB, free: 7.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06108/0.6321, allocations: 17.9 MB / 1.382 GB, free: 6.164 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.93, allocations: 5.531 kB / 1.382 GB, free: 6.16 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.919307717995252]