Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001696/0.001696, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002399/0.002399, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.223/3.223, allocations: 0.49 GB / 0.7959 GB, free: 33.18 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.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001996/0.001996, allocations: 65.88 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3437, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.00454/0.3483, allocations: 2.788 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004825/0.3531, allocations: 2.877 MB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.3535, allocations: 11.88 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.3552, allocations: 0.5058 MB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008103/0.356, allocations: 298.8 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.3571, allocations: 419 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.3595, allocations: 1.575 MB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.3598, allocations: 71.44 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009948/0.3608, allocations: 486.7 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00082/0.3616, allocations: 426.5 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.3617, allocations: 52 kB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.3619, allocations: 67.97 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.3623, allocations: 287.1 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.3627, allocations: 370.2 kB / 1.337 GB, free: 7.707 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3639, allocations: 0.9302 MB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3639, allocations: 3.938 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3639, allocations: 0 / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.3639, allocations: 0 / 1.337 GB, free: 6.77 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.002774/0.3667, allocations: 1.1 MB / 1.339 GB, free: 5.637 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.3668, allocations: 15.97 kB / 1.339 GB, free: 5.621 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.582e-05/0.3668, allocations: 4.688 kB / 1.339 GB, free: 5.617 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.306e-05/0.3669, allocations: 70.66 kB / 1.339 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.3672, allocations: 76.47 kB / 1.339 GB, free: 5.465 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.3687, allocations: 0.6227 MB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.3687, allocations: 24.88 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.3688, allocations: 48.08 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.3695, allocations: 373.9 kB / 1.34 GB, free: 4.359 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3695, allocations: 3.938 kB / 1.34 GB, free: 4.355 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.3695, allocations: 12 kB / 1.34 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3695, allocations: 4 kB / 1.34 GB, free: 4.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.37, allocations: 241.5 kB / 1.34 GB, free: 4.102 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.004772/0.3748, allocations: 2.424 MB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3759, allocations: 386.5 kB / 1.343 GB, free: 1.105 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.3761, allocations: 132.7 kB / 1.343 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3761, allocations: 7.984 kB / 1.343 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.3762, allocations: 34.56 kB / 1.343 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.415e-06/0.3762, allocations: 0 / 1.343 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001214/0.3774, allocations: 475.4 kB / 1.343 GB, free: 460 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3774, allocations: 59.34 kB / 1.343 GB, free: 388 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.379, allocations: 0.9416 MB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/0.3791, allocations: 37.7 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.3794, allocations: 304.7 kB / 1.345 GB, free: 15.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3795, allocations: 71.33 kB / 1.345 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3797, allocations: 126.3 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3799, allocations: 386.7 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.3803, allocations: 233.1 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.3808, allocations: 0.506 MB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.3817, allocations: 0.7044 MB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/0.3817, allocations: 4 kB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001469/0.3832, allocations: 0.816 MB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.3832, allocations: 12 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.3833, allocations: 8 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.3835, allocations: 48.83 kB / 1.347 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.384, allocations: 143.7 kB / 1.348 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3855, allocations: 1.435 MB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009247/0.3864, allocations: 127.4 kB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.3864, allocations: 28 kB / 1.349 GB, free: 10.06 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.0005141/0.387, allocations: 338 kB / 1.35 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.3871, allocations: 63.52 kB / 1.35 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.3873, allocations: 77.88 kB / 1.35 GB, free: 9.578 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3873, allocations: 0 / 1.35 GB, free: 9.578 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3873, allocations: 3.938 kB / 1.35 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3873, allocations: 4.062 kB / 1.35 GB, free: 9.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007689/0.388, allocations: 0.5586 MB / 1.35 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.388, allocations: 0 / 1.35 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.3883, allocations: 47.89 kB / 1.35 GB, free: 8.922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.3885, allocations: 44.81 kB / 1.35 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.3885, allocations: 8 kB / 1.35 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.3897, allocations: 1.427 MB / 1.352 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3897, allocations: 8.094 kB / 1.352 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.3906, allocations: 0.5636 MB / 1.352 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.391, allocations: 131.5 kB / 1.352 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.3911, allocations: 11.94 kB / 1.352 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.3915, allocations: 39.92 kB / 1.352 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.3916, allocations: 23.97 kB / 1.352 GB, free: 6.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3916, allocations: 0 / 1.352 GB, free: 6.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001121/0.3927, allocations: 0.6668 MB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3927, allocations: 0 / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000852/0.3936, allocations: 183.8 kB / 1.353 GB, free: 5.684 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.001335/0.3949, allocations: 1.116 MB / 1.354 GB, free: 4.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.396, allocations: 0.5613 MB / 1.355 GB, free: 3.965 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.396, allocations: 0 / 1.355 GB, free: 3.965 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.3963, allocations: 245.6 kB / 1.355 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.3972, allocations: 176.6 kB / 1.355 GB, free: 3.547 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4075, allocations: 6.956 MB / 1.362 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.4083, allocations: 1.007 MB / 1.363 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005944/0.4089, allocations: 180.5 kB / 1.363 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.4093, allocations: 207.4 kB / 1.363 GB, free: 10.83 MB / 1.061 GB Notification: Performance of SimCode: time 2.405e-06/0.4093, allocations: 0 / 1.363 GB, free: 10.83 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.4595, allocations: 14.56 MB / 1.378 GB, free: 12.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.51, allocations: 15.36 kB / 1.378 GB, free: 12.54 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.48626068100566]