Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 110 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 75.88 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8395/0.8414, allocations: 160.7 MB / 1.213 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005926/0.8474, allocations: 3.748 MB / 1.217 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004688/0.8521, allocations: 2.521 MB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.8525, allocations: 13.16 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.8533, allocations: 254.3 kB / 1.219 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.8544, allocations: 0.4899 MB / 1.22 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.8558, allocations: 0.5331 MB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001821/0.8576, allocations: 1.371 MB / 1.222 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.8579, allocations: 101.8 kB / 1.222 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.8587, allocations: 463.3 kB / 1.222 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007822/0.8595, allocations: 498 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.8596, allocations: 53.5 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.8597, allocations: 61.66 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.8601, allocations: 357.5 kB / 1.223 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.8607, allocations: 456.8 kB / 1.223 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.8619, allocations: 0.9172 MB / 1.224 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8619, allocations: 5.438 kB / 1.224 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8619, allocations: 0 / 1.224 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.8619, allocations: 0 / 1.224 GB, free: 11.3 MB / 0.9356 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.002443/0.8643, allocations: 1.278 MB / 1.226 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.8644, allocations: 14.62 kB / 1.226 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.34e-05/0.8644, allocations: 69.81 kB / 1.226 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.8646, allocations: 106.7 kB / 1.226 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.8659, allocations: 0.6674 MB / 1.226 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.8659, allocations: 37.38 kB / 1.227 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.687e-05/0.866, allocations: 60.62 kB / 1.227 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.8667, allocations: 407.7 kB / 1.227 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.8667, allocations: 1.156 kB / 1.227 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.8668, allocations: 14.66 kB / 1.227 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.8668, allocations: 9 kB / 1.227 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.8672, allocations: 224.1 kB / 1.227 GB, free: 9.234 MB / 0.9356 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.003303/0.8705, allocations: 2.506 MB / 1.23 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.8718, allocations: 467 kB / 1.23 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.872, allocations: 145.2 kB / 1.23 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.8721, allocations: 8.234 kB / 1.23 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.8721, allocations: 30.8 kB / 1.23 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.8721, allocations: 7.938 kB / 1.23 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.002202/0.8743, allocations: 1.217 MB / 1.231 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.8744, allocations: 59.41 kB / 1.232 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.8756, allocations: 0.9232 MB / 1.232 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.8756, allocations: 41.7 kB / 1.232 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.876, allocations: 373.2 kB / 1.233 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.8761, allocations: 115 kB / 1.233 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.8763, allocations: 166.6 kB / 1.233 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.8766, allocations: 394.7 kB / 1.233 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.877, allocations: 229.8 kB / 1.234 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.8777, allocations: 0.627 MB / 1.234 GB, free: 1.605 MB / 0.9356 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.003118/0.8808, allocations: 1.759 MB / 1.236 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.8808, allocations: 11.94 kB / 1.236 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001521/0.8824, allocations: 0.9036 MB / 1.237 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.8824, allocations: 8.812 kB / 1.237 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.8824, allocations: 19.94 kB / 1.237 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.8826, allocations: 52.83 kB / 1.237 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.8833, allocations: 207.6 kB / 1.237 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.8846, allocations: 1.456 MB / 1.239 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/0.8854, allocations: 43.97 kB / 1.239 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.8854, allocations: 40 kB / 1.239 GB, free: 12.72 MB / 0.9512 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.0004103/0.8859, allocations: 304.6 kB / 1.239 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.886, allocations: 87.38 kB / 1.239 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.8861, allocations: 76.52 kB / 1.239 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.8861, allocations: 7.938 kB / 1.239 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8861, allocations: 0 / 1.239 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8861, allocations: 0 / 1.239 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.8879, allocations: 1.144 MB / 1.24 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.8879, allocations: 0 / 1.24 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.8883, allocations: 83.88 kB / 1.24 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.8885, allocations: 32.97 kB / 1.24 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.8885, allocations: 15.98 kB / 1.24 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.8897, allocations: 1.437 MB / 1.242 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8897, allocations: 3.938 kB / 1.242 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.8907, allocations: 0.6628 MB / 1.242 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.891, allocations: 204.5 kB / 1.243 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/0.8911, allocations: 8 kB / 1.243 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.8915, allocations: 15.98 kB / 1.243 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.8916, allocations: 27.91 kB / 1.243 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.8916, allocations: 12 kB / 1.243 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009147/0.8925, allocations: 0.62 MB / 1.243 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8925, allocations: 0 / 1.243 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008127/0.8933, allocations: 211.9 kB / 1.243 GB, free: 7.523 MB / 0.9512 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.001376/0.8947, allocations: 1.208 MB / 1.245 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.8959, allocations: 0.6223 MB / 1.245 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8959, allocations: 0 / 1.245 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.8963, allocations: 265.3 kB / 1.246 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.8972, allocations: 179.3 kB / 1.246 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.9085, allocations: 7.419 MB / 1.253 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009885/0.9095, allocations: 0.9877 MB / 1.254 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006225/0.9101, allocations: 149.8 kB / 1.254 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.9106, allocations: 299.3 kB / 1.254 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of SimCode: time 2.384e-06/0.9107, allocations: 4 kB / 1.254 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.9635, allocations: 16.17 MB / 1.27 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.28, allocations: 3.938 kB / 1.27 GB, free: 11.84 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.338124812114984]