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.001166/0.001166, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001013/0.001013, allocations: 173 kB / 23.49 MB, free: 1.062 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.969/0.969, allocations: 177.1 MB / 203.8 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.144/2.144, allocations: 429.5 MB / 0.6736 GB, free: 4.07 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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.911e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003441/0.00347, allocations: 2.792 MB / 0.8809 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.006886, allocations: 2.793 MB / 0.8836 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.007138, allocations: 15.88 kB / 0.8836 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.008735, allocations: 484.5 kB / 0.8841 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.009248, allocations: 300.6 kB / 0.8844 GB, free: 328 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.01014, allocations: 421.1 kB / 0.8848 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.01143, allocations: 1.545 MB / 0.8863 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.01159, allocations: 74.34 kB / 0.8863 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.01225, allocations: 0.6005 MB / 0.8869 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.0127, allocations: 407.1 kB / 0.8873 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.01276, allocations: 48 kB / 0.8874 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.01288, allocations: 52 kB / 0.8874 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.01312, allocations: 311.2 kB / 0.8877 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.01333, allocations: 255.4 kB / 0.888 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.01392, allocations: 0.6074 MB / 0.8885 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.01393, allocations: 4 kB / 0.8886 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01393, allocations: 0 / 0.8886 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.01394, allocations: 0 / 0.8886 GB, free: 12.02 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.001547/0.01548, allocations: 1.231 MB / 0.8898 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.01553, allocations: 8.031 kB / 0.8898 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.01573, allocations: 104.5 kB / 0.8899 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/0.01639, allocations: 0.5473 MB / 0.8904 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.01641, allocations: 24.88 kB / 0.8904 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.01647, allocations: 48.31 kB / 0.8905 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.0168, allocations: 247.7 kB / 0.8907 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01681, allocations: 16.05 kB / 0.8907 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.01684, allocations: 16.12 kB / 0.8907 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01685, allocations: 4 kB / 0.8907 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.017, allocations: 78.89 kB / 0.8908 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.01894, allocations: 1.798 MB / 0.8926 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.01947, allocations: 251.1 kB / 0.8928 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.01956, allocations: 55.66 kB / 0.8929 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01957, allocations: 4 kB / 0.8929 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.0196, allocations: 41.7 kB / 0.8929 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.555e-06/0.0196, allocations: 0 / 0.8929 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005336/0.02013, allocations: 252.7 kB / 0.8931 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.02016, allocations: 51.41 kB / 0.8932 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000733/0.0209, allocations: 0.8197 MB / 0.894 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.02092, allocations: 37.7 kB / 0.894 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.02116, allocations: 399.5 kB / 0.8944 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.02122, allocations: 91.3 kB / 0.8945 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.02135, allocations: 144 kB / 0.8946 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.02154, allocations: 0.5977 MB / 0.8952 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.02165, allocations: 57.27 kB / 0.8953 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.02193, allocations: 461.3 kB / 0.8957 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.02233, allocations: 0.5559 MB / 0.8963 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.02233, allocations: 4 kB / 0.8963 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005515/0.02289, allocations: 484.2 kB / 0.8967 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.02291, allocations: 10.19 kB / 0.8967 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.02292, allocations: 12 kB / 0.8967 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.02313, allocations: 52.31 kB / 0.8968 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.02339, allocations: 135.8 kB / 0.8969 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.02459, allocations: 1.771 MB / 0.8987 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.02495, allocations: 123.4 kB / 0.8988 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.02498, allocations: 32.12 kB / 0.8988 GB, free: 0.7773 MB / 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.0001328/0.02511, allocations: 196.3 kB / 0.899 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.02518, allocations: 67.52 kB / 0.8991 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.02523, allocations: 61.86 kB / 0.8991 GB, free: 456 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.02523, allocations: 0 / 0.8991 GB, free: 456 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.02524, allocations: 4 kB / 0.8991 GB, free: 452 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.02525, allocations: 3.938 kB / 0.8991 GB, free: 448 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.02569, allocations: 488.4 kB / 0.8996 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.0257, allocations: 4 kB / 0.8996 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.02584, allocations: 55.95 kB / 0.8996 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.02597, allocations: 39.58 kB / 0.8997 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.02599, allocations: 8 kB / 0.8997 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007127/0.02671, allocations: 1.752 MB / 0.9014 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02671, allocations: 0 / 0.9014 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.02706, allocations: 385.1 kB / 0.9018 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.02721, allocations: 115.5 kB / 0.9019 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.02725, allocations: 11.98 kB / 0.9019 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.02745, allocations: 39.92 kB / 0.9019 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.0275, allocations: 23.88 kB / 0.9019 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.02751, allocations: 7.938 kB / 0.902 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004113/0.02792, allocations: 475 kB / 0.9024 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02792, allocations: 4.062 kB / 0.9024 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004255/0.02835, allocations: 183.9 kB / 0.9026 GB, free: 12.7 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.0001167/0.02847, allocations: 99.23 kB / 0.9027 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.02897, allocations: 418.6 kB / 0.9031 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.02898, allocations: 0 / 0.9031 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.02915, allocations: 245.4 kB / 0.9033 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.02967, allocations: 174.7 kB / 0.9035 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.03133, allocations: 1.146 MB / 0.9046 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.0316, allocations: 197.2 kB / 0.9048 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002461/0.03185, allocations: 140.5 kB / 0.9049 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.03194, allocations: 36.5 kB / 0.905 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of SimCode: time 2.034e-06/0.03195, allocations: 0 / 0.905 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of Templates: time 0.0115/0.04345, allocations: 8.754 MB / 0.9135 GB, free: 1.617 MB / 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.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.652386168949306]