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.001666/0.001666, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002072/0.002072, allocations: 216.8 kB / 22.25 MB, free: 4.855 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.793 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.123/3.123, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",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.002039/0.002039, allocations: 68.5 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004963/0.3688, allocations: 2.603 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005121/0.374, allocations: 2.609 MB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.3745, allocations: 11.88 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.3764, allocations: 490.1 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3774, allocations: 294.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3788, allocations: 426.9 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.3813, allocations: 1.563 MB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.3815, allocations: 70.41 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.3826, allocations: 486.7 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008984/0.3835, allocations: 438.5 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.3837, allocations: 44 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.3839, allocations: 60 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004111/0.3844, allocations: 295.1 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005424/0.3849, allocations: 306.6 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3861, allocations: 0.9302 MB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3862, allocations: 7.984 kB / 1.335 GB, free: 7.746 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3862, allocations: 0 / 1.335 GB, free: 7.746 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.432e-05/0.3862, allocations: 0 / 1.335 GB, free: 7.746 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.002781/0.389, allocations: 1.1 MB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.389, allocations: 8.031 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.822e-05/0.3891, allocations: 70.72 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.3894, allocations: 84.41 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3907, allocations: 0.6265 MB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.3908, allocations: 28.88 kB / 1.337 GB, free: 5.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.3909, allocations: 40.33 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.3915, allocations: 381.8 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3915, allocations: 0 / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3915, allocations: 12 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3915, allocations: 4 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.392, allocations: 229.5 kB / 1.338 GB, free: 5.094 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.003746/0.3957, allocations: 1.803 MB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3967, allocations: 382.4 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.397, allocations: 134.3 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.397, allocations: 0 / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.397, allocations: 38.55 kB / 1.34 GB, free: 2.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.397, allocations: 7.938 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001038/0.3981, allocations: 474 kB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3981, allocations: 55.41 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.3995, allocations: 0.9376 MB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3995, allocations: 37.7 kB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.3998, allocations: 304.8 kB / 1.342 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.3999, allocations: 67.38 kB / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.4001, allocations: 134.3 kB / 1.342 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4003, allocations: 382.7 kB / 1.342 GB, free: 240 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.4007, allocations: 241.1 kB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.4013, allocations: 0.5021 MB / 1.343 GB, free: 15.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.4023, allocations: 0.6985 MB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.4023, allocations: 7.938 kB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0014/0.4037, allocations: 0.8137 MB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.4037, allocations: 9.406 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.4037, allocations: 12 kB / 1.345 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.404, allocations: 49.55 kB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.4045, allocations: 139.8 kB / 1.345 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.406, allocations: 1.435 MB / 1.346 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.4067, allocations: 135.3 kB / 1.346 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.4068, allocations: 28.16 kB / 1.346 GB, free: 11.79 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.0004605/0.4072, allocations: 347.1 kB / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4074, allocations: 67.52 kB / 1.347 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.4075, allocations: 65.94 kB / 1.347 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4075, allocations: 0 / 1.347 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4075, allocations: 8 kB / 1.347 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4075, allocations: 0 / 1.347 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.4082, allocations: 476.3 kB / 1.347 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4082, allocations: 3.938 kB / 1.347 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4085, allocations: 55.95 kB / 1.347 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.4086, allocations: 40.77 kB / 1.347 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.4086, allocations: 11.98 kB / 1.347 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.4099, allocations: 1.404 MB / 1.349 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4099, allocations: 160 / 1.349 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.4108, allocations: 0.5791 MB / 1.349 GB, free: 8.559 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.4112, allocations: 131.5 kB / 1.35 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4113, allocations: 7.938 kB / 1.35 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.4117, allocations: 55.84 kB / 1.35 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.4118, allocations: 7.984 kB / 1.35 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4118, allocations: 11.98 kB / 1.35 GB, free: 8.348 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009568/0.4128, allocations: 0.6629 MB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4128, allocations: 0 / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006606/0.4134, allocations: 183.9 kB / 1.35 GB, free: 7.508 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.001268/0.4147, allocations: 1.123 MB / 1.352 GB, free: 6.355 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.4158, allocations: 0.5657 MB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4158, allocations: 0 / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.4162, allocations: 238.5 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.4171, allocations: 180 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.4283, allocations: 6.954 MB / 1.359 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.4289, allocations: 408.8 kB / 1.36 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005136/0.4294, allocations: 180.5 kB / 1.36 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.4297, allocations: 203.4 kB / 1.36 GB, free: 13.27 MB / 1.061 GB Notification: Performance of SimCode: time 1.353e-06/0.4297, allocations: 0 / 1.36 GB, free: 13.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05393/0.4837, allocations: 15.64 MB / 1.375 GB, free: 13.99 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.39, allocations: 9.75 kB / 1.375 GB, free: 13.98 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.09998642001301]