Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001831/0.001831, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.002667/0.002667, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 33.33 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.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.002044/0.002044, allocations: 64.92 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3554, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004937/0.3603, allocations: 2.792 MB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005117/0.3655, allocations: 2.874 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.3659, allocations: 15.88 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.3677, allocations: 0.498 MB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.3689, allocations: 301.6 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.3705, allocations: 414.9 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.3734, allocations: 1.583 MB / 1.335 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.3738, allocations: 66.44 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.375, allocations: 490.7 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.3761, allocations: 430.5 kB / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.3763, allocations: 48 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.3767, allocations: 59.98 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.3773, allocations: 295.1 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.3783, allocations: 370.2 kB / 1.337 GB, free: 7.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.3803, allocations: 0.9263 MB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3803, allocations: 0 / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.977e-06/0.3803, allocations: 0 / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.097e-05/0.3804, allocations: 0 / 1.337 GB, free: 6.797 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.004145/0.3845, allocations: 1.109 MB / 1.339 GB, free: 5.656 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.3846, allocations: 8.031 kB / 1.339 GB, free: 5.648 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.101e-05/0.3847, allocations: 16.62 kB / 1.339 GB, free: 5.633 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.3848, allocations: 54.73 kB / 1.339 GB, free: 5.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/0.3853, allocations: 84.45 kB / 1.339 GB, free: 5.488 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.3872, allocations: 0.6227 MB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.3872, allocations: 28.88 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.3874, allocations: 52.02 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.3882, allocations: 377.8 kB / 1.34 GB, free: 4.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3882, allocations: 0 / 1.34 GB, free: 4.371 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.3883, allocations: 15.98 kB / 1.34 GB, free: 4.355 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3883, allocations: 4 kB / 1.34 GB, free: 4.352 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.3889, allocations: 233.5 kB / 1.34 GB, free: 4.121 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.005101/0.394, allocations: 2.424 MB / 1.342 GB, free: 1.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3951, allocations: 388.6 kB / 1.343 GB, free: 1.125 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.3953, allocations: 128.8 kB / 1.343 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3953, allocations: 8 kB / 1.343 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3954, allocations: 34.56 kB / 1.343 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.3954, allocations: 3.938 kB / 1.343 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001205/0.3966, allocations: 474 kB / 1.343 GB, free: 480 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3966, allocations: 51.41 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.3983, allocations: 0.9377 MB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.3983, allocations: 33.7 kB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.3986, allocations: 304.8 kB / 1.345 GB, free: 15.12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3988, allocations: 79.31 kB / 1.345 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.399, allocations: 126.3 kB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.3992, allocations: 382.7 kB / 1.345 GB, free: 14.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.3996, allocations: 245 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.4003, allocations: 0.506 MB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.4013, allocations: 0.697 MB / 1.347 GB, free: 12.83 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4013, allocations: 4 kB / 1.347 GB, free: 12.83 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001585/0.4029, allocations: 0.8161 MB / 1.347 GB, free: 12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.4029, allocations: 8 kB / 1.347 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.4029, allocations: 16 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/0.4032, allocations: 56.81 kB / 1.347 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.4037, allocations: 135.7 kB / 1.348 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.4053, allocations: 1.443 MB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/0.4062, allocations: 127.4 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.4063, allocations: 24 kB / 1.349 GB, free: 10.08 MB / 1.045 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.0005768/0.4069, allocations: 341.9 kB / 1.349 GB, free: 9.738 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.4072, allocations: 75.44 kB / 1.35 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.4073, allocations: 61.95 kB / 1.35 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4074, allocations: 7.984 kB / 1.35 GB, free: 9.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4074, allocations: 4.062 kB / 1.35 GB, free: 9.586 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4074, allocations: 0 / 1.35 GB, free: 9.586 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.4084, allocations: 0.5547 MB / 1.35 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4084, allocations: 0 / 1.35 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.4087, allocations: 59.83 kB / 1.35 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.4088, allocations: 36.83 kB / 1.35 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.4089, allocations: 11.98 kB / 1.35 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.4103, allocations: 1.424 MB / 1.352 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4103, allocations: 7.938 kB / 1.352 GB, free: 7.328 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.4112, allocations: 0.5554 MB / 1.352 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.4116, allocations: 127.5 kB / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.4118, allocations: 15.92 kB / 1.352 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.4123, allocations: 47.92 kB / 1.352 GB, free: 6.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.4124, allocations: 20.02 kB / 1.352 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4124, allocations: 4 kB / 1.352 GB, free: 6.543 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001159/0.4135, allocations: 0.6707 MB / 1.353 GB, free: 5.875 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4135, allocations: 0 / 1.353 GB, free: 5.875 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008837/0.4144, allocations: 187.8 kB / 1.353 GB, free: 5.691 MB / 1.045 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.001349/0.4158, allocations: 1.112 MB / 1.354 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.417, allocations: 0.5624 MB / 1.355 GB, free: 3.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.417, allocations: 0 / 1.355 GB, free: 3.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.4174, allocations: 242.4 kB / 1.355 GB, free: 3.73 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.4185, allocations: 159.1 kB / 1.355 GB, free: 3.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.4299, allocations: 6.969 MB / 1.362 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/0.4307, allocations: 1.003 MB / 1.363 GB, free: 11.24 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005719/0.4313, allocations: 184.5 kB / 1.363 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.4317, allocations: 207.4 kB / 1.363 GB, free: 10.86 MB / 1.061 GB Notification: Performance of SimCode: time 1.533e-06/0.4317, allocations: 0 / 1.363 GB, free: 10.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05413/0.4858, allocations: 14.56 MB / 1.378 GB, free: 12.57 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.55, allocations: 11.8 kB / 1.378 GB, free: 12.56 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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: 20.661703739024233]