Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001002/0.001002, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009557/0.0009557, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9136/0.9136, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.831/1.831, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.555e-05, allocations: 2.312 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002665/0.00268, allocations: 2.792 MB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.00533, allocations: 2.807 MB / 0.7654 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.005468, allocations: 11.88 kB / 0.7655 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009429/0.006411, allocations: 499.8 kB / 0.7659 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.006832, allocations: 310 kB / 0.7662 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.007539, allocations: 426.9 kB / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.008937, allocations: 1.51 MB / 0.7681 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.009089, allocations: 74.41 kB / 0.7682 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.009827, allocations: 0.6044 MB / 0.7688 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.01035, allocations: 408.6 kB / 0.7692 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.01043, allocations: 48 kB / 0.7692 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.01054, allocations: 63.94 kB / 0.7693 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.0108, allocations: 303.2 kB / 0.7696 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.01105, allocations: 248.4 kB / 0.7698 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.01164, allocations: 0.6035 MB / 0.7704 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.01164, allocations: 0.9375 kB / 0.7704 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.42e-07/0.01164, allocations: 0 / 0.7704 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.01165, allocations: 0 / 0.7704 GB, free: 12.03 MB / 0.7292 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.001215/0.01286, allocations: 0.9349 MB / 0.7713 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.01289, allocations: 15.25 kB / 0.7713 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.01307, allocations: 72.86 kB / 0.7714 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.01364, allocations: 461.5 kB / 0.7718 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.01367, allocations: 28.88 kB / 0.7718 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.01373, allocations: 44.27 kB / 0.7719 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.01402, allocations: 225.5 kB / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01403, allocations: 192 / 0.7721 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.01405, allocations: 16.12 kB / 0.7721 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01406, allocations: 5.094 kB / 0.7721 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.01418, allocations: 75.36 kB / 0.7722 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01547, allocations: 1.102 MB / 0.7733 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.01601, allocations: 270.8 kB / 0.7735 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.01608, allocations: 40.78 kB / 0.7736 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01609, allocations: 4 kB / 0.7736 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.01611, allocations: 34.56 kB / 0.7736 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.01611, allocations: 3.344 kB / 0.7736 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003952/0.01651, allocations: 173.4 kB / 0.7738 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.01654, allocations: 55.34 kB / 0.7738 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.01705, allocations: 0.5623 MB / 0.7744 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.01708, allocations: 33.7 kB / 0.7744 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01721, allocations: 230 kB / 0.7746 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.01727, allocations: 71.36 kB / 0.7747 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.01739, allocations: 117.4 kB / 0.7748 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01751, allocations: 378.6 kB / 0.7752 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01762, allocations: 64.11 kB / 0.7752 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.01783, allocations: 306.5 kB / 0.7755 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.01822, allocations: 447.5 kB / 0.7759 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.01822, allocations: 5.156 kB / 0.776 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005158/0.01874, allocations: 378.4 kB / 0.7763 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.01876, allocations: 14.64 kB / 0.7763 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.01877, allocations: 8 kB / 0.7763 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.01895, allocations: 37.45 kB / 0.7764 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.0193, allocations: 128.8 kB / 0.7765 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008104/0.02011, allocations: 1.206 MB / 0.7777 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.02051, allocations: 63.52 kB / 0.7777 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.02055, allocations: 25.17 kB / 0.7778 GB, free: 3.953 MB / 0.7292 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.0001544/0.0207, allocations: 152.4 kB / 0.7779 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.02079, allocations: 41.36 kB / 0.7779 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.02086, allocations: 57.86 kB / 0.778 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.02087, allocations: 0 / 0.778 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.02087, allocations: 0.75 kB / 0.778 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.02087, allocations: 7.984 kB / 0.778 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.02125, allocations: 262.1 kB / 0.7783 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02125, allocations: 0 / 0.7783 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.02141, allocations: 40.86 kB / 0.7783 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.02155, allocations: 33.28 kB / 0.7783 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.02157, allocations: 7.984 kB / 0.7783 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007594/0.02233, allocations: 1.248 MB / 0.7795 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02233, allocations: 1.75 kB / 0.7796 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.02267, allocations: 326.9 kB / 0.7799 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.02281, allocations: 83.5 kB / 0.7799 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.02287, allocations: 11.98 kB / 0.78 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.02306, allocations: 5.094 kB / 0.78 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.0231, allocations: 19.91 kB / 0.78 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.02311, allocations: 4.062 kB / 0.78 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002854/0.02339, allocations: 270.4 kB / 0.7802 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.02339, allocations: 0 / 0.7802 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005235/0.02392, allocations: 183.8 kB / 0.7804 GB, free: 1.09 MB / 0.7292 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.0001061/0.02402, allocations: 89.67 kB / 0.7805 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.0244, allocations: 307.3 kB / 0.7808 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.02441, allocations: 13.03 kB / 0.7808 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.02455, allocations: 171.3 kB / 0.781 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.02511, allocations: 175.4 kB / 0.7811 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.02675, allocations: 1.07 MB / 0.7822 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.02692, allocations: 177.2 kB / 0.7824 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.02712, allocations: 65 kB / 0.7824 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.02748, allocations: 169.3 kB / 0.7826 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.02748, allocations: 0 / 0.7826 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of Templates: time 0.01501/0.04249, allocations: 9.363 MB / 0.7917 GB, free: 5.727 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.960114735178649]