Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001354/0.001354, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001471/0.001471, allocations: 173 kB / 23.36 MB, free: 1.129 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.943/0.943, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.402/2.402, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.736e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.00341/0.003427, allocations: 3.715 MB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003579/0.007006, allocations: 2.561 MB / 0.8447 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.007344, allocations: 23.81 kB / 0.8447 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.007933, allocations: 238.4 kB / 0.8449 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009047/0.008838, allocations: 0.5635 MB / 0.8455 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.00983, allocations: 0.5726 MB / 0.846 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.01118, allocations: 1.417 MB / 0.8474 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.01135, allocations: 102.4 kB / 0.8475 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007777/0.01212, allocations: 0.608 MB / 0.8481 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005139/0.01264, allocations: 438.8 kB / 0.8485 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.01271, allocations: 56 kB / 0.8486 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.01284, allocations: 67.92 kB / 0.8486 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.01309, allocations: 390.9 kB / 0.849 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.01332, allocations: 307.3 kB / 0.8493 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.01381, allocations: 0.6342 MB / 0.8499 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01381, allocations: 0 / 0.8499 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01381, allocations: 0 / 0.8499 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.01382, allocations: 4 kB / 0.8499 GB, free: 2.562 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001375/0.0152, allocations: 1.144 MB / 0.851 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.01523, allocations: 8.625 kB / 0.851 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.01542, allocations: 104.8 kB / 0.8511 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.01593, allocations: 0.4947 MB / 0.8516 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.01595, allocations: 41.03 kB / 0.8517 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.01602, allocations: 60.31 kB / 0.8517 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.01627, allocations: 290.3 kB / 0.852 GB, free: 344 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01628, allocations: 4.188 kB / 0.852 GB, free: 340 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.0163, allocations: 19.92 kB / 0.852 GB, free: 320 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.01631, allocations: 8 kB / 0.852 GB, free: 312 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.01641, allocations: 87.27 kB / 0.8521 GB, free: 224 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.0176, allocations: 1.386 MB / 0.8535 GB, free: 14.78 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.01814, allocations: 384.5 kB / 0.8538 GB, free: 14.39 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.0182, allocations: 57.28 kB / 0.8539 GB, free: 14.33 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.01822, allocations: 4.234 kB / 0.8539 GB, free: 14.33 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.01824, allocations: 38.8 kB / 0.8539 GB, free: 14.28 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 2.996e-06/0.01824, allocations: 3.984 kB / 0.8539 GB, free: 14.28 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0008152/0.01906, allocations: 0.5363 MB / 0.8545 GB, free: 13.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.01909, allocations: 59.34 kB / 0.8545 GB, free: 13.63 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.01955, allocations: 0.7064 MB / 0.8552 GB, free: 12.92 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.01958, allocations: 41.7 kB / 0.8552 GB, free: 12.87 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01969, allocations: 271.1 kB / 0.8555 GB, free: 12.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.01976, allocations: 126.9 kB / 0.8556 GB, free: 12.48 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.01987, allocations: 162.5 kB / 0.8558 GB, free: 12.31 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01998, allocations: 402.6 kB / 0.8562 GB, free: 11.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.02006, allocations: 68.8 kB / 0.8562 GB, free: 11.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.02031, allocations: 482.2 kB / 0.8567 GB, free: 11.18 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.02139, allocations: 0.8899 MB / 0.8576 GB, free: 10.09 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.0214, allocations: 4 kB / 0.8576 GB, free: 10.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000476/0.02188, allocations: 0.5127 MB / 0.8581 GB, free: 9.562 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.02189, allocations: 15.94 kB / 0.8581 GB, free: 9.547 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.02191, allocations: 16 kB / 0.8581 GB, free: 9.531 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.02205, allocations: 48.03 kB / 0.8581 GB, free: 9.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.02238, allocations: 203.7 kB / 0.8583 GB, free: 9.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005535/0.02293, allocations: 1.204 MB / 0.8595 GB, free: 7.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.02321, allocations: 31.98 kB / 0.8595 GB, free: 7.949 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.02324, allocations: 32 kB / 0.8596 GB, free: 7.918 MB / 0.823 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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.0001521/0.02339, allocations: 211 kB / 0.8598 GB, free: 7.703 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.02345, allocations: 51.94 kB / 0.8598 GB, free: 7.652 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.02351, allocations: 72.42 kB / 0.8599 GB, free: 7.578 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.02351, allocations: 0 / 0.8599 GB, free: 7.578 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.02351, allocations: 4 kB / 0.8599 GB, free: 7.574 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02351, allocations: 3.984 kB / 0.8599 GB, free: 7.57 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.02411, allocations: 0.6651 MB / 0.8605 GB, free: 6.863 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02412, allocations: 0 / 0.8605 GB, free: 6.863 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.02429, allocations: 79.89 kB / 0.8606 GB, free: 6.785 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-05/0.02438, allocations: 31.66 kB / 0.8606 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.0244, allocations: 8 kB / 0.8607 GB, free: 6.742 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004853/0.02488, allocations: 1.222 MB / 0.8619 GB, free: 5.422 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02488, allocations: 0 / 0.8619 GB, free: 5.422 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.02517, allocations: 421 kB / 0.8623 GB, free: 4.977 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.02533, allocations: 99.28 kB / 0.8623 GB, free: 4.879 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.02541, allocations: 11.98 kB / 0.8624 GB, free: 4.867 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.02565, allocations: 12.12 kB / 0.8624 GB, free: 4.855 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.02569, allocations: 27.95 kB / 0.8624 GB, free: 4.828 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.02569, allocations: 4 kB / 0.8624 GB, free: 4.824 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002418/0.02594, allocations: 348.4 kB / 0.8627 GB, free: 4.488 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02594, allocations: 0 / 0.8627 GB, free: 4.488 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003887/0.02633, allocations: 204 kB / 0.8629 GB, free: 4.289 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.569e-05/0.02642, allocations: 88.42 kB / 0.863 GB, free: 4.195 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.02684, allocations: 433 kB / 0.8634 GB, free: 3.762 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.02684, allocations: 8 kB / 0.8634 GB, free: 3.754 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.02697, allocations: 198.2 kB / 0.8636 GB, free: 3.547 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.0274, allocations: 168.9 kB / 0.8638 GB, free: 3.383 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.02894, allocations: 1.3 MB / 0.8651 GB, free: 2.027 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.02905, allocations: 185.8 kB / 0.8652 GB, free: 1.824 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.02919, allocations: 85.55 kB / 0.8653 GB, free: 1.738 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.02945, allocations: 205.2 kB / 0.8655 GB, free: 1.539 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.02945, allocations: 0 / 0.8655 GB, free: 1.539 MB / 0.823 GB Notification: Performance of Templates: time 0.01254/0.04199, allocations: 10.02 MB / 0.8753 GB, free: 7.734 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.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.631285765208304]