Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001221/0.001221, allocations: 115.5 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.001296/0.001296, allocations: 215 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.442/1.442, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.903/2.903, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.002191/0.002191, allocations: 59.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9602, allocations: 179 MB / 1.34 GB, free: 16.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003608/0.9638, allocations: 2.775 MB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.9675, allocations: 2.862 MB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.9678, allocations: 17.38 kB / 1.346 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.9692, allocations: 498.1 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.9699, allocations: 267.5 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.971, allocations: 391.2 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.9729, allocations: 1.53 MB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.9731, allocations: 106.6 kB / 1.348 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008902/0.974, allocations: 492 kB / 1.349 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.9747, allocations: 405.8 kB / 1.349 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.186e-05/0.9748, allocations: 47.75 kB / 1.349 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.9749, allocations: 59.19 kB / 1.349 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.9753, allocations: 278.5 kB / 1.35 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.9756, allocations: 370.4 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.9767, allocations: 0.9234 MB / 1.351 GB, free: 10.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9767, allocations: 1.156 kB / 1.351 GB, free: 10.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9767, allocations: 0 / 1.351 GB, free: 10.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.9768, allocations: 4.656 kB / 1.351 GB, free: 10.36 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002215/0.979, allocations: 1.171 MB / 1.352 GB, free: 9.605 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.979, allocations: 13.91 kB / 1.352 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.015e-05/0.979, allocations: 6.094 kB / 1.352 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.083e-05/0.9791, allocations: 62.25 kB / 1.352 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.9793, allocations: 84.48 kB / 1.352 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.9804, allocations: 0.6874 MB / 1.353 GB, free: 9.066 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.9804, allocations: 30.66 kB / 1.353 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.9805, allocations: 43.38 kB / 1.353 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.9811, allocations: 379.8 kB / 1.353 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.9811, allocations: 0 / 1.353 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.9811, allocations: 10.16 kB / 1.353 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.9811, allocations: 6.562 kB / 1.353 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.9815, allocations: 240.5 kB / 1.353 GB, free: 8.777 MB / 1.061 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.003502/0.985, allocations: 2.46 MB / 1.356 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.986, allocations: 386.3 kB / 1.356 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.9862, allocations: 129.4 kB / 1.356 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.9862, allocations: 2.094 kB / 1.356 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.9863, allocations: 36.11 kB / 1.356 GB, free: 6.906 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/0.9863, allocations: 0 / 1.356 GB, free: 6.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001033/0.9873, allocations: 0.5337 MB / 1.357 GB, free: 6.641 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.9873, allocations: 53.62 kB / 1.357 GB, free: 6.578 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.9887, allocations: 0.9406 MB / 1.358 GB, free: 6.215 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.9887, allocations: 36.3 kB / 1.358 GB, free: 6.176 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.9889, allocations: 308 kB / 1.358 GB, free: 5.934 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.752e-05/0.989, allocations: 70.88 kB / 1.358 GB, free: 5.879 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.9892, allocations: 124.9 kB / 1.358 GB, free: 5.816 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9893, allocations: 381.3 kB / 1.359 GB, free: 5.477 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.9897, allocations: 247.4 kB / 1.359 GB, free: 5.406 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.9902, allocations: 0.4973 MB / 1.359 GB, free: 4.988 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.9909, allocations: 0.6969 MB / 1.36 GB, free: 4.473 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.9909, allocations: 2.969 kB / 1.36 GB, free: 4.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001394/0.9923, allocations: 0.8183 MB / 1.361 GB, free: 4.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.9923, allocations: 10.47 kB / 1.361 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.9923, allocations: 9.688 kB / 1.361 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/0.9926, allocations: 53.83 kB / 1.361 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.9931, allocations: 147.4 kB / 1.361 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000992/0.9941, allocations: 1.534 MB / 1.363 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/0.9949, allocations: 123.3 kB / 1.363 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.995, allocations: 28.58 kB / 1.363 GB, free: 2.641 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0004344/0.9954, allocations: 342 kB / 1.363 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.9955, allocations: 67 kB / 1.363 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.9956, allocations: 71.02 kB / 1.363 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9956, allocations: 2.188 kB / 1.363 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.9956, allocations: 1.062 kB / 1.363 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9956, allocations: 1.5 kB / 1.363 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.9964, allocations: 0.5951 MB / 1.364 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9964, allocations: 4.547 kB / 1.364 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.9967, allocations: 49.55 kB / 1.364 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.9968, allocations: 46.41 kB / 1.364 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.9969, allocations: 9.609 kB / 1.364 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008542/0.9977, allocations: 1.522 MB / 1.365 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9977, allocations: 3.938 kB / 1.365 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.9985, allocations: 0.57 MB / 1.366 GB, free: 248 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.9987, allocations: 202.7 kB / 1.366 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.9988, allocations: 18.11 kB / 1.366 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.9992, allocations: 47 kB / 1.366 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.9993, allocations: 10.77 kB / 1.366 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.9993, allocations: 11.86 kB / 1.366 GB, free: 64 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001037/1, allocations: 0.662 MB / 1.367 GB, free: 15.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1, allocations: 0 / 1.367 GB, free: 15.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008062/1.001, allocations: 181.8 kB / 1.367 GB, free: 15.79 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.001223/1.002, allocations: 1.123 MB / 1.368 GB, free: 14.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001143/1.004, allocations: 0.5591 MB / 1.369 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.004, allocations: 0 / 1.369 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003851/1.004, allocations: 248.5 kB / 1.369 GB, free: 14.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.005, allocations: 176 kB / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.016, allocations: 6.946 MB / 1.376 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/1.017, allocations: 1.009 MB / 1.377 GB, free: 9.992 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005488/1.017, allocations: 182.8 kB / 1.377 GB, free: 9.973 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.018, allocations: 202.7 kB / 1.377 GB, free: 9.82 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/1.018, allocations: 1.438 kB / 1.377 GB, free: 9.82 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/1.07, allocations: 14.37 MB / 1.391 GB, free: 6.516 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.14, allocations: 10.98 kB / 1.391 GB, free: 6.512 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.793815168959554]