Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001284/0.001284, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001371/0.001371, allocations: 212 kB / 20.13 MB, free: 2.949 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.936/2.936, allocations: 0.5003 GB / 0.8026 GB, free: 6.66 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",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.001896/0.001896, allocations: 73.3 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.933/0.9349, allocations: 178.9 MB / 1.34 GB, free: 16.37 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004192/0.9391, allocations: 3.778 MB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00366/0.9428, allocations: 2.578 MB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.9431, allocations: 21.62 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.9438, allocations: 251.4 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.9449, allocations: 0.4988 MB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.9462, allocations: 0.5431 MB / 1.348 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.9479, allocations: 1.388 MB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.9481, allocations: 103.1 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.9488, allocations: 442.4 kB / 1.349 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005895/0.9493, allocations: 490.2 kB / 1.35 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-05/0.9494, allocations: 56.16 kB / 1.35 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.9496, allocations: 70.62 kB / 1.35 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.95, allocations: 383.1 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.9504, allocations: 469.5 kB / 1.351 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.9514, allocations: 0.9569 MB / 1.352 GB, free: 9.484 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.9514, allocations: 0 / 1.352 GB, free: 9.484 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9514, allocations: 1.125 kB / 1.352 GB, free: 9.484 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.9514, allocations: 0 / 1.352 GB, free: 9.484 MB / 1.061 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.002227/0.9536, allocations: 1.317 MB / 1.353 GB, free: 8.602 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.9537, allocations: 9.641 kB / 1.353 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.212e-05/0.9537, allocations: 9 kB / 1.353 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.425e-05/0.9538, allocations: 69.45 kB / 1.353 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.9541, allocations: 112.2 kB / 1.353 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.955, allocations: 0.6787 MB / 1.354 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.955, allocations: 46.05 kB / 1.354 GB, free: 8.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.9551, allocations: 57.92 kB / 1.354 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.9557, allocations: 411.8 kB / 1.354 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.9557, allocations: 0 / 1.354 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.9557, allocations: 11.69 kB / 1.354 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.9557, allocations: 9.094 kB / 1.354 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.9561, allocations: 236.3 kB / 1.355 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.9588, allocations: 2.499 MB / 1.357 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.9602, allocations: 0.5323 MB / 1.358 GB, free: 5.688 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.9604, allocations: 145.9 kB / 1.358 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.9604, allocations: 3.531 kB / 1.358 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.9604, allocations: 36.69 kB / 1.358 GB, free: 5.594 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.9604, allocations: 3.984 kB / 1.358 GB, free: 5.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001593/0.962, allocations: 0.8934 MB / 1.359 GB, free: 5.047 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.9621, allocations: 55.06 kB / 1.359 GB, free: 4.984 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.9633, allocations: 0.9289 MB / 1.36 GB, free: 4.613 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.9634, allocations: 41.64 kB / 1.36 GB, free: 4.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.9636, allocations: 374.1 kB / 1.36 GB, free: 4.273 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.9637, allocations: 123.9 kB / 1.36 GB, free: 4.176 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.9639, allocations: 171.6 kB / 1.36 GB, free: 4.094 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9641, allocations: 395.4 kB / 1.361 GB, free: 3.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.9645, allocations: 241.6 kB / 1.361 GB, free: 3.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.965, allocations: 0.6413 MB / 1.362 GB, free: 3.074 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.9658, allocations: 0.8951 MB / 1.362 GB, free: 2.324 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.9658, allocations: 4.156 kB / 1.362 GB, free: 2.324 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001707/0.9676, allocations: 1.018 MB / 1.363 GB, free: 1.906 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.9676, allocations: 15.05 kB / 1.363 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.9676, allocations: 14.19 kB / 1.363 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.968, allocations: 127.5 kB / 1.364 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/0.9686, allocations: 192.9 kB / 1.364 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.9719, allocations: 4.466 MB / 1.368 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.9732, allocations: 121.7 kB / 1.368 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.9733, allocations: 43.97 kB / 1.368 GB, free: 13.41 MB / 1.076 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.0004236/0.9737, allocations: 272.8 kB / 1.369 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.9739, allocations: 83.69 kB / 1.369 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.974, allocations: 84.72 kB / 1.369 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.974, allocations: 3.812 kB / 1.369 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.974, allocations: 1.25 kB / 1.369 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.974, allocations: 1.406 kB / 1.369 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009318/0.975, allocations: 0.6681 MB / 1.369 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.975, allocations: 4.969 kB / 1.369 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.9753, allocations: 62.72 kB / 1.369 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/0.9756, allocations: 104.3 kB / 1.37 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.9757, allocations: 9.578 kB / 1.37 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/0.9795, allocations: 4.449 MB / 1.374 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9795, allocations: 5.719 kB / 1.374 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.981, allocations: 0.7333 MB / 1.375 GB, free: 7.984 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.9814, allocations: 216.4 kB / 1.375 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.9815, allocations: 12.77 kB / 1.375 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.982, allocations: 24.92 kB / 1.375 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.9821, allocations: 22.98 kB / 1.375 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.9821, allocations: 10.45 kB / 1.375 GB, free: 7.793 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001112/0.9832, allocations: 0.6278 MB / 1.376 GB, free: 7.543 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9832, allocations: 1.688 kB / 1.376 GB, free: 7.543 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001022/0.9843, allocations: 263.4 kB / 1.376 GB, free: 7.516 MB / 1.076 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.001614/0.9859, allocations: 1.306 MB / 1.377 GB, free: 6.582 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.9876, allocations: 0.9027 MB / 1.378 GB, free: 6.066 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9876, allocations: 0 / 1.378 GB, free: 6.066 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.9883, allocations: 0.5188 MB / 1.378 GB, free: 5.664 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.9892, allocations: 173 kB / 1.379 GB, free: 5.594 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.001, allocations: 7.851 MB / 1.386 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.002, allocations: 0.9841 MB / 1.387 GB, free: 232 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005742/1.003, allocations: 158.2 kB / 1.387 GB, free: 200 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/1.003, allocations: 279.1 kB / 1.388 GB, free: 15.98 MB / 1.092 GB Notification: Performance of SimCode: time 1.332e-06/1.003, allocations: 0 / 1.388 GB, free: 15.98 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3984/1.402, allocations: 17.54 MB / 1.405 GB, free: 10.89 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/13.16, allocations: 8.422 kB / 1.405 GB, free: 10.89 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.75696839299053]