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.001819/0.001819, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002207/0.002207, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.266/3.266, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.001963/0.001963, allocations: 66.41 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4041, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004275/0.4084, allocations: 2.787 MB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00449/0.4128, allocations: 2.873 MB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.4131, allocations: 7.938 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.4147, allocations: 0.5019 MB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007539/0.4155, allocations: 298.8 kB / 1.352 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4167, allocations: 421 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.4188, allocations: 1.583 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.4191, allocations: 70.44 kB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008283/0.4199, allocations: 486.8 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.4206, allocations: 426.5 kB / 1.354 GB, free: 7.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.4206, allocations: 44 kB / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.4208, allocations: 63.98 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.4211, allocations: 291.2 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.4216, allocations: 374.2 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.4226, allocations: 0.9263 MB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4226, allocations: 0 / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4226, allocations: 4 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.4226, allocations: 0 / 1.356 GB, free: 5.332 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.002269/0.4249, allocations: 1.115 MB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4249, allocations: 8.031 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.914e-05/0.425, allocations: 4.688 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.254e-05/0.425, allocations: 58.73 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.4253, allocations: 92.34 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.4264, allocations: 0.6227 MB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.4264, allocations: 32.81 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-05/0.4265, allocations: 40.12 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.4271, allocations: 377.9 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4271, allocations: 4 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.4271, allocations: 15.92 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4271, allocations: 8 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.4275, allocations: 229.5 kB / 1.359 GB, free: 2.645 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.004029/0.4316, allocations: 2.432 MB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.4326, allocations: 394.4 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.4329, allocations: 128.8 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.4329, allocations: 0 / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4329, allocations: 38.56 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.4329, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001032/0.4339, allocations: 471.7 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.434, allocations: 55.41 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.4352, allocations: 0.9376 MB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.4353, allocations: 33.7 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.4356, allocations: 304.7 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.4356, allocations: 75.36 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.4358, allocations: 122.3 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.4361, allocations: 390.7 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.4365, allocations: 241.1 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006048/0.4371, allocations: 0.4984 MB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.438, allocations: 0.6978 MB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.438, allocations: 0 / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001457/0.4395, allocations: 0.8177 MB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4395, allocations: 8 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.4395, allocations: 8 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.4398, allocations: 61.44 kB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.4403, allocations: 139.7 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.4419, allocations: 1.439 MB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/0.4428, allocations: 127.4 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.4428, allocations: 28 kB / 1.368 GB, free: 8.609 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.0005291/0.4434, allocations: 337.5 kB / 1.368 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4435, allocations: 75.59 kB / 1.368 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.4436, allocations: 61.95 kB / 1.368 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4436, allocations: 3.984 kB / 1.368 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.4436, allocations: 4 kB / 1.368 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4436, allocations: 3.938 kB / 1.368 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.4444, allocations: 0.5586 MB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4444, allocations: 7.938 kB / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.4447, allocations: 51.89 kB / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.4448, allocations: 40.83 kB / 1.369 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.4448, allocations: 7.984 kB / 1.369 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.4462, allocations: 1.42 MB / 1.37 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4462, allocations: 3.938 kB / 1.37 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.4472, allocations: 0.5676 MB / 1.371 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.4475, allocations: 131.6 kB / 1.371 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.4476, allocations: 15.92 kB / 1.371 GB, free: 5.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.448, allocations: 47.92 kB / 1.371 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.4481, allocations: 11.97 kB / 1.371 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4481, allocations: 8 kB / 1.371 GB, free: 5.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009355/0.4491, allocations: 0.659 MB / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4491, allocations: 0 / 1.372 GB, free: 4.418 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006832/0.4497, allocations: 183.9 kB / 1.372 GB, free: 4.238 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.001215/0.451, allocations: 1.118 MB / 1.373 GB, free: 3.094 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.4521, allocations: 0.5641 MB / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4521, allocations: 0 / 1.374 GB, free: 2.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.4525, allocations: 246.6 kB / 1.374 GB, free: 2.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/0.4534, allocations: 171 kB / 1.374 GB, free: 2.098 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.4642, allocations: 6.957 MB / 1.381 GB, free: 10.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/0.465, allocations: 1.007 MB / 1.382 GB, free: 9.773 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005592/0.4656, allocations: 184.5 kB / 1.382 GB, free: 9.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.4659, allocations: 199.4 kB / 1.382 GB, free: 9.395 MB / 1.076 GB Notification: Performance of SimCode: time 1.533e-06/0.4659, allocations: 0 / 1.382 GB, free: 9.395 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.5099, allocations: 14.57 MB / 1.396 GB, free: 11.08 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.47, allocations: 6.25 kB / 1.396 GB, free: 11.08 MB / 1.092 GB " [Timeout remaining time 286] (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: 20.661851465993095]