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.0008062/0.0008062, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008331/0.0008331, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8583/0.8583, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714/1.714, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.04e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002779/0.002799, allocations: 2.585 MB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.005616, allocations: 2.62 MB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.00584, allocations: 7.938 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.007008, allocations: 0.4901 MB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.007504, allocations: 306.6 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000813/0.008317, allocations: 414.3 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.009588, allocations: 1.59 MB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.009762, allocations: 70.42 kB / 1.008 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.01059, allocations: 0.6083 MB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.01112, allocations: 399.1 kB / 1.008 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.0112, allocations: 52 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.01133, allocations: 67.92 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.01153, allocations: 307.2 kB / 1.009 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.01171, allocations: 251.4 kB / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006941/0.01241, allocations: 0.9037 MB / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01241, allocations: 0 / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01241, allocations: 3.938 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.01243, allocations: 0 / 1.01 GB, free: 2.82 MB / 0.9636 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.001531/0.01396, allocations: 1.1 MB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.014, allocations: 12.75 kB / 1.011 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.01405, allocations: 58.73 kB / 1.011 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.01423, allocations: 80.47 kB / 1.011 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.01491, allocations: 0.6297 MB / 1.012 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.01493, allocations: 24.88 kB / 1.012 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.01498, allocations: 40.38 kB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.01536, allocations: 370.6 kB / 1.012 GB, free: 440 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.01537, allocations: 4.188 kB / 1.012 GB, free: 436 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.01539, allocations: 11.94 kB / 1.012 GB, free: 424 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.0154, allocations: 8 kB / 1.012 GB, free: 416 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.01565, allocations: 241.7 kB / 1.013 GB, free: 176 kB / 0.9636 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.001947/0.0176, allocations: 1.796 MB / 1.014 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.01818, allocations: 378.5 kB / 1.015 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.01833, allocations: 134.6 kB / 1.015 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.01835, allocations: 7.938 kB / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.01837, allocations: 42.44 kB / 1.015 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=18): time 2.274e-06/0.01838, allocations: 0 / 1.015 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18): time 0.0007323/0.01911, allocations: 469.8 kB / 1.015 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.01915, allocations: 55.41 kB / 1.015 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/0.02002, allocations: 0.9415 MB / 1.016 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.02005, allocations: 41.7 kB / 1.016 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.02023, allocations: 300.8 kB / 1.017 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.02028, allocations: 75.38 kB / 1.017 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.02039, allocations: 122.2 kB / 1.017 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.02051, allocations: 378.8 kB / 1.017 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.02074, allocations: 241.1 kB / 1.017 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.02107, allocations: 0.506 MB / 1.018 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.02158, allocations: 0.6931 MB / 1.019 GB, free: 9.629 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.02159, allocations: 8 kB / 1.019 GB, free: 9.621 MB / 0.9792 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007653/0.02235, allocations: 0.8163 MB / 1.019 GB, free: 8.797 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.02238, allocations: 12.16 kB / 1.019 GB, free: 8.785 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.02239, allocations: 12 kB / 1.019 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.02257, allocations: 56.81 kB / 1.019 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.02283, allocations: 135.7 kB / 1.02 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009174/0.02375, allocations: 1.427 MB / 1.021 GB, free: 7.039 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.02412, allocations: 131.4 kB / 1.021 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.02415, allocations: 28 kB / 1.021 GB, free: 6.883 MB / 0.9792 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.0002562/0.0244, allocations: 341.4 kB / 1.021 GB, free: 6.539 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.02447, allocations: 67.56 kB / 1.021 GB, free: 6.473 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.02453, allocations: 69.88 kB / 1.022 GB, free: 6.402 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.02453, allocations: 4 kB / 1.022 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.02453, allocations: 0 / 1.022 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.02454, allocations: 0 / 1.022 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.02491, allocations: 480.4 kB / 1.022 GB, free: 5.887 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02491, allocations: 0 / 1.022 GB, free: 5.887 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.02505, allocations: 55.89 kB / 1.022 GB, free: 5.832 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.722e-05/0.02514, allocations: 36.83 kB / 1.022 GB, free: 5.793 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.02516, allocations: 15.92 kB / 1.022 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006909/0.02585, allocations: 1.428 MB / 1.023 GB, free: 4.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02585, allocations: 0 / 1.023 GB, free: 4.23 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.02632, allocations: 0.5599 MB / 1.024 GB, free: 3.652 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.02648, allocations: 127.6 kB / 1.024 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.02652, allocations: 11.98 kB / 1.024 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.02672, allocations: 47.86 kB / 1.024 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.02677, allocations: 15.92 kB / 1.024 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.02678, allocations: 12.02 kB / 1.024 GB, free: 3.441 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005526/0.02733, allocations: 0.6707 MB / 1.025 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3e-08/0.02733, allocations: 0 / 1.025 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004098/0.02774, allocations: 191.8 kB / 1.025 GB, free: 2.586 MB / 0.9792 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.0006642/0.0284, allocations: 1.105 MB / 1.026 GB, free: 1.453 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.029, allocations: 0.5706 MB / 1.027 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.029, allocations: 0 / 1.027 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.02918, allocations: 242.6 kB / 1.027 GB, free: 0.6211 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.02969, allocations: 179 kB / 1.027 GB, free: 464 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.03528, allocations: 6.814 MB / 1.034 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.03556, allocations: 408.7 kB / 1.034 GB, free: 8.871 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003079/0.03587, allocations: 180.5 kB / 1.034 GB, free: 8.695 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.03608, allocations: 208.4 kB / 1.035 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/0.03608, allocations: 4 kB / 1.035 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.06459, allocations: 15.73 MB / 1.05 GB, free: 9.094 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.858, allocations: 6.906 kB / 1.05 GB, free: 9.09 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/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: 11.254539215937257]