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.001049/0.001049, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00149/0.00149, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9453/0.9453, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.942/1.942, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.843e-06/1.843e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.913e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003638/0.003657, allocations: 3.783 MB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.006595, allocations: 2.529 MB / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.006804, allocations: 21.22 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.007387, allocations: 238.3 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.00811, allocations: 0.5461 MB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.008843, allocations: 0.579 MB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.01003, allocations: 1.434 MB / 0.8204 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.01021, allocations: 97.72 kB / 0.8205 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.01076, allocations: 0.5946 MB / 0.8211 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.01118, allocations: 426.8 kB / 0.8215 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.01125, allocations: 56 kB / 0.8215 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.01137, allocations: 71.92 kB / 0.8216 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.01164, allocations: 409.7 kB / 0.822 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.01187, allocations: 323.2 kB / 0.8223 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.0124, allocations: 0.6499 MB / 0.8229 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.0124, allocations: 0 / 0.8229 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.0124, allocations: 0 / 0.8229 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.01241, allocations: 0 / 0.8229 GB, free: 6.059 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.00132/0.01373, allocations: 1.339 MB / 0.8243 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.01376, allocations: 8.031 kB / 0.8243 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.01397, allocations: 144.3 kB / 0.8244 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.01459, allocations: 0.5994 MB / 0.825 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.01461, allocations: 37.03 kB / 0.825 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.01468, allocations: 60.38 kB / 0.8251 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.01502, allocations: 325 kB / 0.8254 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01503, allocations: 4.125 kB / 0.8254 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.01505, allocations: 15.94 kB / 0.8254 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.01506, allocations: 8 kB / 0.8254 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.01522, allocations: 121.4 kB / 0.8255 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.017, allocations: 2.175 MB / 0.8277 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.01771, allocations: 420.8 kB / 0.8281 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01781, allocations: 72.25 kB / 0.8281 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.01783, allocations: 8.688 kB / 0.8281 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.01785, allocations: 33.39 kB / 0.8282 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/0.01785, allocations: 0.9688 kB / 0.8282 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0007359/0.01858, allocations: 456.8 kB / 0.8286 GB, free: 56 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.01863, allocations: 63.34 kB / 0.8287 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.0193, allocations: 0.8701 MB / 0.8295 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.01933, allocations: 41.69 kB / 0.8296 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.01954, allocations: 435.9 kB / 0.83 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.01962, allocations: 123 kB / 0.8301 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.01976, allocations: 184.3 kB / 0.8303 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.01993, allocations: 0.5821 MB / 0.8308 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.02007, allocations: 89.88 kB / 0.8309 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.02044, allocations: 0.657 MB / 0.8316 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.02101, allocations: 0.8273 MB / 0.8324 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.02101, allocations: 4 kB / 0.8324 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008048/0.02182, allocations: 0.7316 MB / 0.8331 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.02184, allocations: 15.94 kB / 0.8331 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.02185, allocations: 12 kB / 0.8331 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/0.02233, allocations: 131.5 kB / 0.8332 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.02267, allocations: 183.7 kB / 0.8334 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.02484, allocations: 5.389 MB / 0.8387 GB, free: 4.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.02525, allocations: 111.2 kB / 0.8388 GB, free: 4.641 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.02528, allocations: 40 kB / 0.8388 GB, free: 4.602 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.0001443/0.02543, allocations: 216.2 kB / 0.839 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.02551, allocations: 87.44 kB / 0.8391 GB, free: 4.293 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.02557, allocations: 76.42 kB / 0.8392 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02557, allocations: 7.938 kB / 0.8392 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.02558, allocations: 8.031 kB / 0.8392 GB, free: 4.203 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02558, allocations: 3.984 kB / 0.8392 GB, free: 4.199 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.02599, allocations: 480.1 kB / 0.8397 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02599, allocations: 0 / 0.8397 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.02615, allocations: 55.95 kB / 0.8397 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.02639, allocations: 110.9 kB / 0.8398 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.02641, allocations: 12.14 kB / 0.8398 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.02858, allocations: 5.338 MB / 0.845 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.02858, allocations: 4 kB / 0.845 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.02908, allocations: 0.5394 MB / 0.8456 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.02924, allocations: 135.2 kB / 0.8457 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.02929, allocations: 8 kB / 0.8457 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.02951, allocations: 19.97 kB / 0.8457 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.02957, allocations: 27.95 kB / 0.8458 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.02958, allocations: 8 kB / 0.8458 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004277/0.03001, allocations: 0.5184 MB / 0.8463 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.03001, allocations: 3.938 kB / 0.8463 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005197/0.03053, allocations: 271.8 kB / 0.8465 GB, free: 12.24 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.0001059/0.03063, allocations: 107.2 kB / 0.8466 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009009/0.03153, allocations: 0.8889 MB / 0.8475 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.03154, allocations: 4.375 kB / 0.8475 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.03185, allocations: 0.6104 MB / 0.8481 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.03238, allocations: 171.2 kB / 0.8483 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.03412, allocations: 1.439 MB / 0.8497 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.03424, allocations: 190 kB / 0.8499 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.03443, allocations: 121.6 kB / 0.85 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.03454, allocations: 56.48 kB / 0.85 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.03454, allocations: 0 / 0.85 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of Templates: time 0.01489/0.04943, allocations: 10.82 MB / 0.8606 GB, free: 13.91 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.482203064952046]