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.001326/0.001326, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001613/0.001613, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.103/3.103, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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="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.001966/0.001966, allocations: 67.16 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004014/0.3261, allocations: 2.585 MB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.3304, allocations: 2.605 MB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.3307, allocations: 11.88 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.3323, allocations: 486.1 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007577/0.333, allocations: 310.8 kB / 1.351 GB, free: 9.938 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3341, allocations: 425.1 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002226/0.3363, allocations: 1.571 MB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.3366, allocations: 71.86 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007933/0.3374, allocations: 482.8 kB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.338, allocations: 426.5 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.165e-05/0.3381, allocations: 48 kB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.3383, allocations: 60 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.3387, allocations: 291.2 kB / 1.354 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003994/0.3391, allocations: 310.5 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3401, allocations: 0.9263 MB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3401, allocations: 8 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3401, allocations: 4 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.3401, allocations: 0 / 1.356 GB, free: 5.348 MB / 1.045 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.002234/0.3424, allocations: 1.103 MB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3424, allocations: 8.031 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.772e-05/0.3424, allocations: 12.62 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.429e-05/0.3425, allocations: 54.73 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.3427, allocations: 92.41 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3438, allocations: 0.6227 MB / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.3438, allocations: 28.81 kB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.3439, allocations: 48.11 kB / 1.357 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.3444, allocations: 366 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3445, allocations: 0 / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.3445, allocations: 23.88 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3445, allocations: 8 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.3449, allocations: 229.5 kB / 1.358 GB, free: 2.676 MB / 1.045 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.003512/0.3484, allocations: 1.795 MB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3494, allocations: 398.4 kB / 1.36 GB, free: 424 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.3496, allocations: 128.8 kB / 1.36 GB, free: 292 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3497, allocations: 4 kB / 1.36 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3497, allocations: 30.56 kB / 1.36 GB, free: 248 kB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.3497, allocations: 0 / 1.36 GB, free: 248 kB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.001058/0.3508, allocations: 478.2 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3508, allocations: 55.39 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.3521, allocations: 0.9415 MB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.3522, allocations: 37.7 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.3524, allocations: 296.8 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.3525, allocations: 75.36 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.3527, allocations: 126.3 kB / 1.362 GB, free: 14.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.3529, allocations: 382.5 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.3533, allocations: 241.1 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.3539, allocations: 0.4984 MB / 1.363 GB, free: 12.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.3548, allocations: 0.7003 MB / 1.364 GB, free: 12.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/0.3548, allocations: 4 kB / 1.364 GB, free: 12.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001377/0.3562, allocations: 0.811 MB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3562, allocations: 13.72 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3562, allocations: 8 kB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.3564, allocations: 52.83 kB / 1.365 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.3569, allocations: 148.2 kB / 1.365 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.3584, allocations: 1.435 MB / 1.366 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.3591, allocations: 123.4 kB / 1.367 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.3592, allocations: 24 kB / 1.367 GB, free: 9.395 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.0004185/0.3596, allocations: 345.6 kB / 1.367 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3597, allocations: 63.58 kB / 1.367 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.3598, allocations: 69.88 kB / 1.367 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3598, allocations: 7.984 kB / 1.367 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3598, allocations: 0 / 1.367 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3598, allocations: 0 / 1.367 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.3605, allocations: 484.2 kB / 1.368 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3605, allocations: 4 kB / 1.368 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.3607, allocations: 47.89 kB / 1.368 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.3609, allocations: 44.83 kB / 1.368 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3609, allocations: 11.98 kB / 1.368 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.3622, allocations: 1.416 MB / 1.369 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3622, allocations: 7.969 kB / 1.369 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008741/0.363, allocations: 0.57 MB / 1.37 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.3633, allocations: 131.5 kB / 1.37 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.3634, allocations: 11.94 kB / 1.37 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.3638, allocations: 43.92 kB / 1.37 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.3639, allocations: 11.97 kB / 1.37 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3639, allocations: 8 kB / 1.37 GB, free: 5.945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009122/0.3648, allocations: 0.6629 MB / 1.37 GB, free: 5.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3648, allocations: 0 / 1.37 GB, free: 5.289 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006535/0.3654, allocations: 183.9 kB / 1.371 GB, free: 5.109 MB / 1.061 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.001145/0.3666, allocations: 1.125 MB / 1.372 GB, free: 3.957 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.3676, allocations: 0.566 MB / 1.372 GB, free: 3.383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3676, allocations: 0 / 1.372 GB, free: 3.383 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.368, allocations: 242.4 kB / 1.373 GB, free: 3.133 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.3689, allocations: 176.4 kB / 1.373 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009627/0.3786, allocations: 6.957 MB / 1.379 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.3791, allocations: 404.8 kB / 1.38 GB, free: 11.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004747/0.3795, allocations: 180.5 kB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.3799, allocations: 207.4 kB / 1.38 GB, free: 10.86 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.3799, allocations: 0 / 1.38 GB, free: 10.86 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04697/0.4268, allocations: 15.24 MB / 1.395 GB, free: 11.95 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.67, allocations: 18.22 kB / 1.395 GB, free: 11.94 MB / 1.092 GB " [Timeout remaining time 287] (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: 19.247743624961004]