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.001466/0.001466, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001831/0.001831, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 8.031 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 3.095/3.095, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.001971/0.001971, allocations: 66.95 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004887/0.3593, allocations: 2.791 MB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004587/0.3639, allocations: 2.874 MB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.3642, allocations: 15.88 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.3657, allocations: 0.498 MB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.3666, allocations: 300.6 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3678, allocations: 430.9 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002354/0.3702, allocations: 1.56 MB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.3704, allocations: 74.41 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008923/0.3713, allocations: 486.8 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.3722, allocations: 434.5 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3723, allocations: 48 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.3726, allocations: 59.98 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.373, allocations: 295.1 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.3736, allocations: 366.2 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.3748, allocations: 0.9302 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3748, allocations: 0 / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3748, allocations: 3.938 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.929e-05/0.3748, allocations: 4 kB / 1.364 GB, free: 13.3 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.002508/0.3773, allocations: 1.1 MB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3774, allocations: 8.031 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.259e-05/0.3775, allocations: 62.72 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.3777, allocations: 88.36 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.379, allocations: 0.6266 MB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.379, allocations: 24.88 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.3791, allocations: 40.38 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.3797, allocations: 377.8 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3797, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.3798, allocations: 12 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3798, allocations: 4 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.3802, allocations: 233.5 kB / 1.366 GB, free: 10.65 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.004152/0.3843, allocations: 2.432 MB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3854, allocations: 390.4 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.3856, allocations: 132.8 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3856, allocations: 0 / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3856, allocations: 38.56 kB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.223e-06/0.3856, allocations: 0 / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001027/0.3867, allocations: 472.3 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3867, allocations: 55.41 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.388, allocations: 0.9415 MB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.3881, allocations: 37.7 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.3884, allocations: 308.8 kB / 1.371 GB, free: 5.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.3885, allocations: 67.38 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3887, allocations: 126.3 kB / 1.371 GB, free: 5.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3889, allocations: 378.7 kB / 1.371 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.3893, allocations: 237.1 kB / 1.372 GB, free: 4.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.3898, allocations: 0.506 MB / 1.372 GB, free: 4.188 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.3908, allocations: 0.6995 MB / 1.373 GB, free: 3.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.3908, allocations: 7.938 kB / 1.373 GB, free: 3.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001329/0.3921, allocations: 0.8156 MB / 1.374 GB, free: 2.527 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3921, allocations: 12 kB / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3922, allocations: 8 kB / 1.374 GB, free: 2.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.3924, allocations: 52.83 kB / 1.374 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.3928, allocations: 147.7 kB / 1.374 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.3942, allocations: 1.431 MB / 1.375 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.3949, allocations: 135.4 kB / 1.375 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.395, allocations: 28 kB / 1.375 GB, free: 0.6016 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.000411/0.3954, allocations: 346.5 kB / 1.376 GB, free: 260 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3955, allocations: 63.52 kB / 1.376 GB, free: 196 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.3956, allocations: 69.94 kB / 1.376 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3956, allocations: 0 / 1.376 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3956, allocations: 0 / 1.376 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3956, allocations: 4 kB / 1.376 GB, free: 112 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007231/0.3964, allocations: 0.5587 MB / 1.376 GB, free: 15.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3964, allocations: 3.938 kB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3966, allocations: 43.95 kB / 1.376 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.3967, allocations: 44.77 kB / 1.376 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.3967, allocations: 15.92 kB / 1.376 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.398, allocations: 1.416 MB / 1.378 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.398, allocations: 160 / 1.378 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.3988, allocations: 0.5831 MB / 1.378 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.3991, allocations: 135.5 kB / 1.379 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.3992, allocations: 8 kB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.3996, allocations: 43.98 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.3996, allocations: 23.97 kB / 1.379 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3996, allocations: 4 kB / 1.379 GB, free: 13.06 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000951/0.4006, allocations: 0.6668 MB / 1.379 GB, free: 12.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4006, allocations: 0 / 1.379 GB, free: 12.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006487/0.4012, allocations: 179.9 kB / 1.379 GB, free: 12.22 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.001222/0.4025, allocations: 1.128 MB / 1.381 GB, free: 11.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.4035, allocations: 0.5575 MB / 1.381 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4035, allocations: 0 / 1.381 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.4038, allocations: 248.1 kB / 1.381 GB, free: 10.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/0.4046, allocations: 170.6 kB / 1.382 GB, free: 10.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.4154, allocations: 6.95 MB / 1.388 GB, free: 2.785 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.4162, allocations: 1.003 MB / 1.389 GB, free: 1.754 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004534/0.4166, allocations: 184.5 kB / 1.389 GB, free: 1.574 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.417, allocations: 207.4 kB / 1.39 GB, free: 1.371 MB / 1.076 GB Notification: Performance of SimCode: time 8.51e-07/0.417, allocations: 0 / 1.39 GB, free: 1.371 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05106/0.468, allocations: 14.55 MB / 1.404 GB, free: 3.082 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.14, allocations: 1.891 kB / 1.404 GB, free: 3.082 MB / 1.092 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.60771068604663]