Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001358/0.001358, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001477/0.001477, allocations: 181 kB / 24.09 MB, free: 416 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.9278/0.9278, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ConductorSingleLayer2,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.657e-05, allocations: 2.312 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00373/0.003756, allocations: 3.723 MB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.007517, allocations: 2.506 MB / 0.8181 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.007999, allocations: 20.34 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.008737, allocations: 247.9 kB / 0.8183 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.0098, allocations: 0.5581 MB / 0.8189 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.01106, allocations: 0.5775 MB / 0.8194 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.01258, allocations: 1.433 MB / 0.8208 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.01281, allocations: 101.6 kB / 0.8209 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.01399, allocations: 0.5944 MB / 0.8215 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.01462, allocations: 430.8 kB / 0.8219 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.01472, allocations: 52 kB / 0.822 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.01491, allocations: 79.84 kB / 0.822 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.01529, allocations: 403.5 kB / 0.8224 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.01554, allocations: 323.2 kB / 0.8227 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.0162, allocations: 0.6516 MB / 0.8234 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.01621, allocations: 0 / 0.8234 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.104e-06/0.01621, allocations: 0 / 0.8234 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.204e-05/0.01623, allocations: 0 / 0.8234 GB, free: 5.816 MB / 0.7761 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.001685/0.01792, allocations: 1.328 MB / 0.8247 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.01796, allocations: 8.031 kB / 0.8247 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.01824, allocations: 140.3 kB / 0.8248 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/0.01889, allocations: 0.5383 MB / 0.8253 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.01891, allocations: 41.03 kB / 0.8254 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.01897, allocations: 61.41 kB / 0.8254 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.01927, allocations: 312.9 kB / 0.8257 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01928, allocations: 4.125 kB / 0.8257 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.0193, allocations: 16.81 kB / 0.8257 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01931, allocations: 8 kB / 0.8258 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.01942, allocations: 98.7 kB / 0.8258 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.02136, allocations: 2.013 MB / 0.8278 GB, free: 1.094 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.02201, allocations: 391.1 kB / 0.8282 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.02209, allocations: 67.58 kB / 0.8283 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.02211, allocations: 12 kB / 0.8283 GB, free: 0.6172 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.02213, allocations: 37.39 kB / 0.8283 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.02213, allocations: 0 / 0.8283 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0007009/0.02283, allocations: 420.9 kB / 0.8287 GB, free: 144 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.02286, allocations: 55.41 kB / 0.8288 GB, free: 76 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.02348, allocations: 0.8424 MB / 0.8296 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.02351, allocations: 37.7 kB / 0.8296 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.02375, allocations: 443.8 kB / 0.83 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.02383, allocations: 134.9 kB / 0.8302 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.02398, allocations: 180.2 kB / 0.8303 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.02421, allocations: 0.6014 MB / 0.8309 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.02431, allocations: 65.88 kB / 0.831 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.02473, allocations: 0.653 MB / 0.8316 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.02535, allocations: 0.7975 MB / 0.8324 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.02536, allocations: 4 kB / 0.8324 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007987/0.02616, allocations: 0.6873 MB / 0.8331 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.02618, allocations: 14.66 kB / 0.8331 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.0262, allocations: 16 kB / 0.8331 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/0.02652, allocations: 123 kB / 0.8332 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.02684, allocations: 171.7 kB / 0.8334 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.02959, allocations: 5.305 MB / 0.8386 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.03006, allocations: 95.25 kB / 0.8387 GB, free: 4.973 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.03009, allocations: 36 kB / 0.8387 GB, free: 4.938 MB / 0.7917 GB 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.03027, allocations: 228.2 kB / 0.8389 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.03035, allocations: 91.44 kB / 0.839 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.03042, allocations: 76.36 kB / 0.8391 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.03042, allocations: 4 kB / 0.8391 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.03043, allocations: 0 / 0.8391 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.03044, allocations: 3.984 kB / 0.8391 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.03084, allocations: 364.7 kB / 0.8394 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.03084, allocations: 3.984 kB / 0.8394 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.03099, allocations: 51.91 kB / 0.8395 GB, free: 4.094 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.03122, allocations: 107 kB / 0.8396 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.03124, allocations: 8 kB / 0.8396 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.03369, allocations: 5.274 MB / 0.8447 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.03369, allocations: 0 / 0.8447 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.03414, allocations: 0.5112 MB / 0.8452 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.03432, allocations: 127.3 kB / 0.8454 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.03437, allocations: 8 kB / 0.8454 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.03457, allocations: 12 kB / 0.8454 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/0.03463, allocations: 27.94 kB / 0.8454 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.03464, allocations: 8.031 kB / 0.8454 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003661/0.03501, allocations: 490.7 kB / 0.8459 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.9e-07/0.03501, allocations: 0 / 0.8459 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006273/0.03564, allocations: 271.8 kB / 0.8461 GB, free: 12.89 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001313/0.03577, allocations: 107.2 kB / 0.8462 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006809/0.03645, allocations: 0.853 MB / 0.8471 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03645, allocations: 3.938 kB / 0.8471 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.03676, allocations: 0.6076 MB / 0.8477 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.03728, allocations: 159.2 kB / 0.8478 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.03932, allocations: 1.448 MB / 0.8492 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.03946, allocations: 193.9 kB / 0.8494 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.03967, allocations: 81.55 kB / 0.8495 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.03997, allocations: 242 kB / 0.8497 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of SimCode: time 1.362e-06/0.03997, allocations: 0 / 0.8497 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of Templates: time 0.01589/0.05586, allocations: 11.47 MB / 0.8609 GB, free: 13.8 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.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.364972102921456]