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.001857/0.001857, allocations: 92.72 kB / 19.44 MB, free: 468 kB / 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.001706/0.001706, allocations: 157.7 kB / 22.75 MB, free: 1.801 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 1.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.262/3.262, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8775 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.13e-05, allocations: 3 kB / 0.8775 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004669/0.004701, allocations: 2.61 MB / 0.8801 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004798/0.009499, allocations: 2.62 MB / 0.8827 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.009785, allocations: 13.41 kB / 0.8827 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.01142, allocations: 494.9 kB / 0.8831 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008201/0.01224, allocations: 307.3 kB / 0.8834 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.01342, allocations: 422.7 kB / 0.8838 GB, free: 88 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.01574, allocations: 1.536 MB / 0.8853 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.01595, allocations: 66.42 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.0173, allocations: 0.6083 MB / 0.886 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.01812, allocations: 403 kB / 0.8864 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.01829, allocations: 48 kB / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.01851, allocations: 56 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.01894, allocations: 307.2 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.0194, allocations: 251.4 kB / 0.887 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.02065, allocations: 0.9037 MB / 0.8879 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.02065, allocations: 0 / 0.8879 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.02065, allocations: 0 / 0.8879 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.726e-05/0.02068, allocations: 4 kB / 0.8879 GB, free: 11.91 MB / 0.8542 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.00277/0.02345, allocations: 1.111 MB / 0.889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.02349, allocations: 8.031 kB / 0.889 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.0238, allocations: 92.47 kB / 0.8891 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.02507, allocations: 0.6531 MB / 0.8897 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.02512, allocations: 28.88 kB / 0.8897 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.0252, allocations: 40.33 kB / 0.8898 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.02589, allocations: 374.6 kB / 0.8901 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.02591, allocations: 192 / 0.8901 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.02595, allocations: 16.12 kB / 0.8902 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.02596, allocations: 4 kB / 0.8902 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.02649, allocations: 245.7 kB / 0.8904 GB, free: 9.277 MB / 0.8542 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.004099/0.03059, allocations: 1.757 MB / 0.8921 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.03205, allocations: 385.3 kB / 0.8925 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.03232, allocations: 128.8 kB / 0.8926 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.03234, allocations: 4 kB / 0.8926 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.03238, allocations: 34.56 kB / 0.8926 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.03238, allocations: 0 / 0.8926 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001479/0.03386, allocations: 484.3 kB / 0.8931 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.03391, allocations: 59.41 kB / 0.8932 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.03555, allocations: 0.9259 MB / 0.8941 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.03559, allocations: 33.7 kB / 0.8941 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.03594, allocations: 312.7 kB / 0.8944 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.03606, allocations: 71.42 kB / 0.8945 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.03627, allocations: 122.3 kB / 0.8946 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.03652, allocations: 378.8 kB / 0.8949 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.03709, allocations: 241.1 kB / 0.8952 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.03779, allocations: 0.5023 MB / 0.8957 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.03896, allocations: 0.6976 MB / 0.8963 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.03897, allocations: 4 kB / 0.8963 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001811/0.04078, allocations: 0.8453 MB / 0.8972 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.04081, allocations: 12 kB / 0.8972 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.04082, allocations: 8 kB / 0.8972 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.04126, allocations: 64.8 kB / 0.8972 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.04178, allocations: 143.7 kB / 0.8974 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.04356, allocations: 1.416 MB / 0.8988 GB, free: 208 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.04443, allocations: 127.4 kB / 0.8989 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.04448, allocations: 31.98 kB / 0.8989 GB, free: 48 kB / 0.8542 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.0005115/0.045, allocations: 333.5 kB / 0.8992 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.04516, allocations: 75.7 kB / 0.8993 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.04539, allocations: 69.86 kB / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.0454, allocations: 0 / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.0454, allocations: 3.938 kB / 0.8994 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.04541, allocations: 3.938 kB / 0.8994 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.04632, allocations: 436.9 kB / 0.8998 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.04632, allocations: 4 kB / 0.8998 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.0466, allocations: 39.97 kB / 0.8998 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002988/0.0469, allocations: 64.78 kB / 0.8999 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.04693, allocations: 8 kB / 0.8999 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.0484, allocations: 1.397 MB / 0.9013 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0484, allocations: 0 / 0.9013 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.0496, allocations: 0.5778 MB / 0.9018 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.05014, allocations: 127.5 kB / 0.902 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.05025, allocations: 12.11 kB / 0.902 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.05073, allocations: 47.92 kB / 0.902 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.05079, allocations: 11.98 kB / 0.902 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.05081, allocations: 7.984 kB / 0.902 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001245/0.05205, allocations: 0.6551 MB / 0.9027 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.05205, allocations: 0 / 0.9027 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008309/0.05289, allocations: 187.8 kB / 0.9029 GB, free: 11.86 MB / 0.8698 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.0001914/0.05308, allocations: 111.2 kB / 0.903 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.05458, allocations: 0.5616 MB / 0.9035 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.05458, allocations: 0 / 0.9035 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.055, allocations: 242.5 kB / 0.9037 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.05621, allocations: 171.8 kB / 0.9039 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.05895, allocations: 1.436 MB / 0.9053 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.05951, allocations: 416.7 kB / 0.9057 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004696/0.05998, allocations: 180.5 kB / 0.9059 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.06012, allocations: 36.5 kB / 0.9059 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/0.06012, allocations: 4 kB / 0.9059 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of Templates: time 0.01823/0.07835, allocations: 8.79 MB / 0.9145 GB, free: 36 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 800] 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: 8.522187368012965]