Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001308/0.001308, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001407/0.001407, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.843/2.843, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.001969/0.001969, allocations: 67.91 kB / 1.165 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8796, allocations: 178.9 MB / 1.34 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.0045/0.8841, allocations: 2.773 MB / 1.343 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004559/0.8886, allocations: 2.861 MB / 1.346 GB, free: 9.301 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.8888, allocations: 13.59 kB / 1.346 GB, free: 9.293 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.8903, allocations: 497.1 kB / 1.346 GB, free: 8.984 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.8909, allocations: 265.4 kB / 1.346 GB, free: 8.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009766/0.8919, allocations: 397.8 kB / 1.347 GB, free: 8.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.8936, allocations: 1.541 MB / 1.348 GB, free: 7.699 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.8938, allocations: 104.3 kB / 1.348 GB, free: 7.645 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.8945, allocations: 484.6 kB / 1.349 GB, free: 7.418 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.8951, allocations: 400.8 kB / 1.349 GB, free: 7.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.8951, allocations: 51.31 kB / 1.349 GB, free: 7.176 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.8953, allocations: 66.47 kB / 1.349 GB, free: 7.164 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.8956, allocations: 274.6 kB / 1.35 GB, free: 6.988 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.896, allocations: 377.1 kB / 1.35 GB, free: 6.742 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.897, allocations: 0.9215 MB / 1.351 GB, free: 6.152 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.897, allocations: 3.984 kB / 1.351 GB, free: 6.148 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.897, allocations: 1.281 kB / 1.351 GB, free: 6.148 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.897, allocations: 0 / 1.351 GB, free: 6.148 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.00255/0.8996, allocations: 1.173 MB / 1.352 GB, free: 5.258 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.8997, allocations: 14.62 kB / 1.352 GB, free: 5.254 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.705e-05/0.8997, allocations: 5.594 kB / 1.352 GB, free: 5.254 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.737e-05/0.8998, allocations: 63.72 kB / 1.352 GB, free: 5.191 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.9, allocations: 84.3 kB / 1.352 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.9012, allocations: 0.6814 MB / 1.353 GB, free: 4.633 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.9012, allocations: 27.34 kB / 1.353 GB, free: 4.621 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.9013, allocations: 41.69 kB / 1.353 GB, free: 4.605 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.902, allocations: 372.4 kB / 1.353 GB, free: 4.363 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.902, allocations: 11.81 kB / 1.353 GB, free: 4.352 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.902, allocations: 10.53 kB / 1.353 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.9021, allocations: 6.656 kB / 1.353 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.9025, allocations: 235.1 kB / 1.353 GB, free: 4.23 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.00386/0.9063, allocations: 2.459 MB / 1.356 GB, free: 2.148 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.9073, allocations: 398.1 kB / 1.356 GB, free: 1.957 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.9076, allocations: 129 kB / 1.356 GB, free: 1.891 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.9076, allocations: 2.281 kB / 1.356 GB, free: 1.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9076, allocations: 35.66 kB / 1.356 GB, free: 1.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/0.9076, allocations: 0 / 1.356 GB, free: 1.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001193/0.9088, allocations: 0.5364 MB / 1.357 GB, free: 1.504 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.9089, allocations: 53.59 kB / 1.357 GB, free: 1.441 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.9102, allocations: 0.9437 MB / 1.358 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.9103, allocations: 35.2 kB / 1.358 GB, free: 0.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.9106, allocations: 301.6 kB / 1.358 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.9107, allocations: 76.77 kB / 1.358 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.9109, allocations: 122.5 kB / 1.358 GB, free: 492 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.9111, allocations: 380.7 kB / 1.359 GB, free: 124 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.9114, allocations: 239.5 kB / 1.359 GB, free: 4 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.912, allocations: 0.5006 MB / 1.359 GB, free: 15.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.9129, allocations: 0.6981 MB / 1.36 GB, free: 14.89 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9129, allocations: 0 / 1.36 GB, free: 14.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001292/0.9142, allocations: 0.8199 MB / 1.361 GB, free: 14.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.9142, allocations: 9.094 kB / 1.361 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.9142, allocations: 11.98 kB / 1.361 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.9145, allocations: 60.75 kB / 1.361 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.9149, allocations: 143.8 kB / 1.361 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.9163, allocations: 1.539 MB / 1.363 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/0.9171, allocations: 131.5 kB / 1.363 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.9171, allocations: 28 kB / 1.363 GB, free: 12.01 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.0003909/0.9175, allocations: 337.5 kB / 1.363 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.9176, allocations: 67.45 kB / 1.363 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.9177, allocations: 73.94 kB / 1.363 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9177, allocations: 0 / 1.363 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.9177, allocations: 0 / 1.363 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9177, allocations: 4 kB / 1.363 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007327/0.9185, allocations: 0.5908 MB / 1.364 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.9185, allocations: 3.984 kB / 1.364 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.9187, allocations: 43.95 kB / 1.364 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.9188, allocations: 40.83 kB / 1.364 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.9189, allocations: 15.92 kB / 1.364 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.9201, allocations: 1.52 MB / 1.365 GB, free: 9.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9202, allocations: 8.094 kB / 1.365 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.921, allocations: 0.5637 MB / 1.366 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.9212, allocations: 204.6 kB / 1.366 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.738e-05/0.9213, allocations: 15.94 kB / 1.366 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.9217, allocations: 51.91 kB / 1.366 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.9218, allocations: 15.98 kB / 1.366 GB, free: 8.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.9218, allocations: 4 kB / 1.366 GB, free: 8.219 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009035/0.9227, allocations: 0.6629 MB / 1.367 GB, free: 7.562 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.9227, allocations: 0 / 1.367 GB, free: 7.562 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007239/0.9234, allocations: 183.9 kB / 1.367 GB, free: 7.383 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.001247/0.9247, allocations: 1.123 MB / 1.368 GB, free: 6.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.9257, allocations: 0.56 MB / 1.369 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9257, allocations: 0 / 1.369 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.926, allocations: 248.1 kB / 1.369 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.9269, allocations: 163 kB / 1.369 GB, free: 5.246 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009606/0.9365, allocations: 6.947 MB / 1.376 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.9373, allocations: 1.003 MB / 1.377 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004563/0.9377, allocations: 188.5 kB / 1.377 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.938, allocations: 207.4 kB / 1.377 GB, free: 12.54 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.938, allocations: 3.938 kB / 1.377 GB, free: 12.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04244/0.9805, allocations: 14.36 MB / 1.391 GB, free: 14.45 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/12.04, allocations: 14.14 kB / 1.391 GB, free: 14.44 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.307366521039512]