Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.0009973/0.0009973, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009482/0.0009482, allocations: 165 kB / 23.02 MB, free: 1.547 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.9472/0.9472, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 2.223/2.223, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] 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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.235e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002954/0.002976, allocations: 2.805 MB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.005912, allocations: 2.801 MB / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.006098, allocations: 7.938 kB / 0.8836 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.007141, allocations: 490 kB / 0.8841 GB, free: 272 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.007569, allocations: 310.6 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.008179, allocations: 414.8 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.009436, allocations: 1.544 MB / 0.8863 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.009562, allocations: 74.36 kB / 0.8863 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.01012, allocations: 0.6004 MB / 0.8869 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.01054, allocations: 403.1 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.01061, allocations: 48 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.01071, allocations: 59.98 kB / 0.8874 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.01091, allocations: 303.2 kB / 0.8877 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.01111, allocations: 255.4 kB / 0.8879 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.01157, allocations: 0.6036 MB / 0.8885 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01157, allocations: 0 / 0.8885 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.91e-07/0.01158, allocations: 0 / 0.8885 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.01158, allocations: 3.938 kB / 0.8885 GB, free: 11.67 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.001182/0.01276, allocations: 1.238 MB / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.01279, allocations: 8.031 kB / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.01294, allocations: 96.47 kB / 0.8899 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.01349, allocations: 0.5511 MB / 0.8904 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.01351, allocations: 28.88 kB / 0.8904 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.01356, allocations: 44.33 kB / 0.8905 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.01382, allocations: 251.7 kB / 0.8907 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.01382, allocations: 192 / 0.8907 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.01384, allocations: 12.12 kB / 0.8907 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.01385, allocations: 4 kB / 0.8907 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.01425, allocations: 90.81 kB / 0.8908 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.01583, allocations: 1.801 MB / 0.8926 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.0163, allocations: 257.3 kB / 0.8928 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/0.01637, allocations: 47.67 kB / 0.8929 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.01638, allocations: 4 kB / 0.8929 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.0164, allocations: 37.7 kB / 0.8929 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.0164, allocations: 4 kB / 0.8929 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0004036/0.01681, allocations: 252.7 kB / 0.8931 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.01683, allocations: 51.41 kB / 0.8932 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.01749, allocations: 0.8235 MB / 0.894 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.01751, allocations: 37.7 kB / 0.894 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.01772, allocations: 403.5 kB / 0.8944 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.01777, allocations: 79.33 kB / 0.8945 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.0179, allocations: 152 kB / 0.8946 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.01808, allocations: 0.5977 MB / 0.8952 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.01817, allocations: 49.28 kB / 0.8953 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.01845, allocations: 469.3 kB / 0.8957 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.01882, allocations: 0.5545 MB / 0.8963 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01882, allocations: 4 kB / 0.8963 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005146/0.01934, allocations: 486.6 kB / 0.8967 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01935, allocations: 8 kB / 0.8967 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01936, allocations: 8 kB / 0.8967 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.01953, allocations: 52.02 kB / 0.8968 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.01976, allocations: 143.7 kB / 0.8969 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007401/0.02051, allocations: 1.767 MB / 0.8986 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.02082, allocations: 127.4 kB / 0.8988 GB, free: 460 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.02085, allocations: 28 kB / 0.8988 GB, free: 432 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.0001119/0.02096, allocations: 192.5 kB / 0.899 GB, free: 228 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.02103, allocations: 71.58 kB / 0.899 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.02107, allocations: 61.8 kB / 0.8991 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.02107, allocations: 0 / 0.8991 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.02108, allocations: 0 / 0.8991 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.02108, allocations: 7.938 kB / 0.8991 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.02149, allocations: 492.3 kB / 0.8996 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.02149, allocations: 0 / 0.8996 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.02161, allocations: 39.97 kB / 0.8996 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.02172, allocations: 47.64 kB / 0.8997 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.02174, allocations: 7.984 kB / 0.8997 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006646/0.0224, allocations: 1.756 MB / 0.9014 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0224, allocations: 128 / 0.9014 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.02271, allocations: 392.7 kB / 0.9018 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.02294, allocations: 119.5 kB / 0.9019 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.02297, allocations: 4 kB / 0.9019 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.02316, allocations: 47.91 kB / 0.9019 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.02319, allocations: 19.88 kB / 0.9019 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.0232, allocations: 4 kB / 0.9019 GB, free: 13 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003748/0.02357, allocations: 478.9 kB / 0.9024 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.02357, allocations: 3.938 kB / 0.9024 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003599/0.02393, allocations: 183.9 kB / 0.9026 GB, free: 12.35 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 7.887e-05/0.02401, allocations: 107.2 kB / 0.9027 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.02443, allocations: 413.8 kB / 0.9031 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.02443, allocations: 0 / 0.9031 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.02458, allocations: 247.6 kB / 0.9033 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.02503, allocations: 168.3 kB / 0.9035 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.02633, allocations: 1.154 MB / 0.9046 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.02644, allocations: 193.2 kB / 0.9048 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.02664, allocations: 144.5 kB / 0.9049 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.02672, allocations: 36.5 kB / 0.905 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of SimCode: time 4.1e-07/0.02672, allocations: 0 / 0.905 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of Templates: time 0.009901/0.03662, allocations: 8.747 MB / 0.9135 GB, free: 1.258 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.777267518918961]