Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001276/0.001276, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001532/0.001532, allocations: 211.3 kB / 22.25 MB, free: 5.262 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.785 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.164/3.164, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 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.ConductorMultiLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_12_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.002015/0.002015, allocations: 74.86 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3784, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004278/0.3827, allocations: 2.588 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.3871, allocations: 2.617 MB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.3874, allocations: 7.938 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.389, allocations: 494.1 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000754/0.3898, allocations: 298.8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3909, allocations: 415 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.3929, allocations: 1.571 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.3931, allocations: 75.22 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007891/0.3939, allocations: 482.8 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007451/0.3946, allocations: 438.5 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3947, allocations: 48 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3949, allocations: 59.98 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.3953, allocations: 295.2 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.3956, allocations: 306.5 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3966, allocations: 0.9302 MB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3966, allocations: 0 / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3966, allocations: 0 / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.3966, allocations: 0 / 1.335 GB, free: 7.781 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.002326/0.399, allocations: 1.103 MB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.399, allocations: 12.03 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.3991, allocations: 62.72 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3993, allocations: 80.47 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.4006, allocations: 0.6227 MB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.4006, allocations: 32.88 kB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.4007, allocations: 40.33 kB / 1.337 GB, free: 5.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.4013, allocations: 377.8 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4013, allocations: 3.938 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4013, allocations: 12 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4013, allocations: 4 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.4018, allocations: 237.5 kB / 1.338 GB, free: 5.125 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.003842/0.4056, allocations: 1.803 MB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.4067, allocations: 390.4 kB / 1.34 GB, free: 2.863 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.4069, allocations: 128.8 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.4069, allocations: 0 / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.407, allocations: 38.56 kB / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.407, allocations: 0 / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001079/0.408, allocations: 475.7 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.4081, allocations: 55.41 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.4094, allocations: 0.9415 MB / 1.342 GB, free: 1.195 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.4095, allocations: 33.7 kB / 1.342 GB, free: 1.156 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.4098, allocations: 304.8 kB / 1.342 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.4099, allocations: 83.34 kB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.4101, allocations: 122.3 kB / 1.342 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.4103, allocations: 378.7 kB / 1.342 GB, free: 276 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.4107, allocations: 241.1 kB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.4113, allocations: 0.506 MB / 1.343 GB, free: 15.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.4123, allocations: 0.6936 MB / 1.344 GB, free: 14.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4123, allocations: 8 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001437/0.4137, allocations: 0.8103 MB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.4137, allocations: 8.156 kB / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.4137, allocations: 16 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.414, allocations: 60.75 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.4145, allocations: 131.8 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.416, allocations: 1.439 MB / 1.346 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00086/0.4169, allocations: 127.4 kB / 1.346 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.4169, allocations: 28 kB / 1.346 GB, free: 11.83 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.0004741/0.4174, allocations: 337.9 kB / 1.347 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4176, allocations: 71.52 kB / 1.347 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.4177, allocations: 65.94 kB / 1.347 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4177, allocations: 4 kB / 1.347 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4177, allocations: 0 / 1.347 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4177, allocations: 3.938 kB / 1.347 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.4184, allocations: 480.4 kB / 1.347 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4184, allocations: 3.938 kB / 1.347 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.4187, allocations: 47.95 kB / 1.347 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.4188, allocations: 44.81 kB / 1.347 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.4189, allocations: 12 kB / 1.347 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.4202, allocations: 1.416 MB / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4202, allocations: 0 / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.4212, allocations: 0.5753 MB / 1.349 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.4215, allocations: 127.5 kB / 1.35 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.4216, allocations: 15.97 kB / 1.35 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.4221, allocations: 47.86 kB / 1.35 GB, free: 8.402 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.4221, allocations: 11.98 kB / 1.35 GB, free: 8.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.4221, allocations: 7.984 kB / 1.35 GB, free: 8.383 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009993/0.4231, allocations: 0.6669 MB / 1.35 GB, free: 7.719 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4231, allocations: 0 / 1.35 GB, free: 7.719 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007133/0.4238, allocations: 187.9 kB / 1.35 GB, free: 7.535 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.001209/0.4251, allocations: 1.111 MB / 1.352 GB, free: 6.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.4262, allocations: 0.5677 MB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4262, allocations: 0.875 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.4266, allocations: 246.5 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/0.4275, allocations: 169.6 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.438, allocations: 6.959 MB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4384, allocations: 412.8 kB / 1.36 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004799/0.4389, allocations: 176.5 kB / 1.36 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.4393, allocations: 207.4 kB / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of SimCode: time 1.193e-06/0.4393, allocations: 7.938 kB / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05298/0.4922, allocations: 15.63 MB / 1.375 GB, free: 14 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.34, allocations: 6.094 kB / 1.375 GB, free: 14 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.079008113127202]