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.0008559/0.0008559, allocations: 93.06 kB / 19.65 MB, free: 280 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.001015/0.001015, allocations: 169 kB / 23.02 MB, free: 1.551 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.164/2.164, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.463e-06/1.463e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.326e-05, allocations: 6.312 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004572/0.004595, allocations: 2.804 MB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003338/0.007934, allocations: 2.795 MB / 0.8836 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.008184, allocations: 9.062 kB / 0.8836 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.009373, allocations: 487.6 kB / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005618/0.009935, allocations: 313.1 kB / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007761/0.01071, allocations: 417.6 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.01194, allocations: 1.545 MB / 0.8863 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.01209, allocations: 74.36 kB / 0.8863 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.01282, allocations: 0.6005 MB / 0.8869 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.0133, allocations: 411 kB / 0.8873 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.01338, allocations: 51.98 kB / 0.8874 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.0135, allocations: 52 kB / 0.8874 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.01372, allocations: 303.2 kB / 0.8877 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.01394, allocations: 251.4 kB / 0.888 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.01459, allocations: 0.6035 MB / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01459, allocations: 0 / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01459, allocations: 4 kB / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.0146, allocations: 3.938 kB / 0.8886 GB, free: 11.65 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.001355/0.01596, allocations: 1.239 MB / 0.8898 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01599, allocations: 12.03 kB / 0.8898 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.01618, allocations: 96.47 kB / 0.8899 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.01694, allocations: 0.5473 MB / 0.8904 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.01696, allocations: 28.88 kB / 0.8904 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.01701, allocations: 40.33 kB / 0.8905 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.0173, allocations: 251.7 kB / 0.8907 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.01731, allocations: 192 / 0.8907 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.01732, allocations: 12.12 kB / 0.8907 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.01733, allocations: 4 kB / 0.8907 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.01746, allocations: 94.81 kB / 0.8908 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.01902, allocations: 1.794 MB / 0.8926 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.0195, allocations: 261.6 kB / 0.8928 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.01958, allocations: 47.67 kB / 0.8929 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.01959, allocations: 4 kB / 0.8929 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.01961, allocations: 45.45 kB / 0.8929 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.354e-06/0.01961, allocations: 3.984 kB / 0.8929 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000446/0.02006, allocations: 248.8 kB / 0.8931 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.02008, allocations: 51.41 kB / 0.8932 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.02076, allocations: 0.8275 MB / 0.894 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.02078, allocations: 33.7 kB / 0.894 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.021, allocations: 399.5 kB / 0.8944 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.02106, allocations: 79.31 kB / 0.8945 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.0212, allocations: 156 kB / 0.8946 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.0214, allocations: 0.5938 MB / 0.8952 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.0215, allocations: 49.28 kB / 0.8953 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.02179, allocations: 469.3 kB / 0.8957 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.02219, allocations: 0.5598 MB / 0.8963 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02219, allocations: 0 / 0.8963 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007255/0.02292, allocations: 484.8 kB / 0.8967 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.02294, allocations: 8 kB / 0.8967 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.02295, allocations: 12 kB / 0.8967 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.02315, allocations: 47.64 kB / 0.8968 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.0234, allocations: 151.7 kB / 0.8969 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000885/0.02428, allocations: 1.763 MB / 0.8987 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.02462, allocations: 127.4 kB / 0.8988 GB, free: 444 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.02465, allocations: 28 kB / 0.8988 GB, free: 416 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.000131/0.02478, allocations: 188.4 kB / 0.899 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.02485, allocations: 71.7 kB / 0.8991 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.0249, allocations: 65.8 kB / 0.8991 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.0249, allocations: 0 / 0.8991 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.02491, allocations: 0 / 0.8991 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02491, allocations: 3.938 kB / 0.8991 GB, free: 72 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.02532, allocations: 496.3 kB / 0.8996 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02533, allocations: 0 / 0.8996 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.02545, allocations: 39.97 kB / 0.8996 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.02558, allocations: 43.64 kB / 0.8997 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.0256, allocations: 11.98 kB / 0.8997 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007052/0.0263, allocations: 1.756 MB / 0.9014 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0263, allocations: 0 / 0.9014 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.02664, allocations: 395.3 kB / 0.9018 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.02678, allocations: 123.6 kB / 0.9019 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.02682, allocations: 8 kB / 0.9019 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.027, allocations: 43.91 kB / 0.9019 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.02704, allocations: 11.98 kB / 0.902 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.02705, allocations: 4 kB / 0.902 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003915/0.02744, allocations: 482.9 kB / 0.9024 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.02744, allocations: 0 / 0.9024 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003999/0.02784, allocations: 175.9 kB / 0.9026 GB, free: 12.34 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 9.899e-05/0.02794, allocations: 111.2 kB / 0.9027 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.02838, allocations: 412.3 kB / 0.9031 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02838, allocations: 0 / 0.9031 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.02855, allocations: 245.4 kB / 0.9033 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.02906, allocations: 167.5 kB / 0.9035 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.0307, allocations: 1.156 MB / 0.9046 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.03083, allocations: 193.2 kB / 0.9048 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.03105, allocations: 140.5 kB / 0.9049 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.03113, allocations: 40.5 kB / 0.905 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/0.03113, allocations: 0 / 0.905 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of Templates: time 0.01082/0.04196, allocations: 8.749 MB / 0.9135 GB, free: 1.246 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.695495877880603]