Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009351/0.0009351, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009769/0.0009769, allocations: 161 kB / 23.82 MB, free: 0.75 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.9136/0.9136, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.827/1.827, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.691e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003758/0.003785, allocations: 3.756 MB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.007198, allocations: 2.518 MB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.00752, allocations: 25.12 kB / 0.8176 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006461/0.008166, allocations: 238.3 kB / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.009303, allocations: 0.5568 MB / 0.8184 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01047, allocations: 0.5766 MB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.0118, allocations: 1.413 MB / 0.8204 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.012, allocations: 105.7 kB / 0.8205 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.01275, allocations: 0.6089 MB / 0.8211 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.01332, allocations: 456.8 kB / 0.8215 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.407e-05/0.01341, allocations: 56 kB / 0.8215 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.01355, allocations: 63.98 kB / 0.8216 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.01387, allocations: 386.9 kB / 0.822 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.01416, allocations: 311.3 kB / 0.8223 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.01481, allocations: 0.6325 MB / 0.8229 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01481, allocations: 0 / 0.8229 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01481, allocations: 0 / 0.8229 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.01482, allocations: 4 kB / 0.8229 GB, free: 6.109 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.001619/0.01644, allocations: 1.32 MB / 0.8242 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.01648, allocations: 8.031 kB / 0.8242 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.01676, allocations: 140.3 kB / 0.8243 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.01751, allocations: 0.5608 MB / 0.8249 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.01755, allocations: 41.03 kB / 0.8249 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.01762, allocations: 65.25 kB / 0.825 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.01806, allocations: 317 kB / 0.8253 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01807, allocations: 5.312 kB / 0.8253 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.0181, allocations: 19.94 kB / 0.8253 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.01811, allocations: 11.98 kB / 0.8253 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.01831, allocations: 112.9 kB / 0.8254 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.02033, allocations: 2.148 MB / 0.8275 GB, free: 1.199 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.02116, allocations: 381.6 kB / 0.8279 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.02129, allocations: 76.11 kB / 0.828 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.0213, allocations: 4.734 kB / 0.828 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.02133, allocations: 34.22 kB / 0.828 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.02133, allocations: 6.062 kB / 0.828 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.001254/0.02258, allocations: 0.7425 MB / 0.8287 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.02262, allocations: 59.34 kB / 0.8288 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008582/0.02348, allocations: 0.8684 MB / 0.8296 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.02351, allocations: 41.7 kB / 0.8297 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.02379, allocations: 443.9 kB / 0.8301 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/0.02387, allocations: 119 kB / 0.8302 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.02406, allocations: 180.3 kB / 0.8304 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.02426, allocations: 0.5782 MB / 0.8309 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.02443, allocations: 85.94 kB / 0.831 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.02489, allocations: 0.6609 MB / 0.8317 GB, free: 12.57 MB / 0.7917 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.001313/0.0262, allocations: 1.128 MB / 0.8328 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.02621, allocations: 4 kB / 0.8328 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009375/0.02715, allocations: 0.6761 MB / 0.8334 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.02717, allocations: 12 kB / 0.8334 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.02718, allocations: 16 kB / 0.8335 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.0274, allocations: 52.28 kB / 0.8335 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.02791, allocations: 211.6 kB / 0.8337 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.03184, allocations: 1.755 MB / 0.8354 GB, free: 8.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.03229, allocations: 40.09 kB / 0.8355 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-05/0.03233, allocations: 47.94 kB / 0.8355 GB, free: 8.234 MB / 0.7917 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.0002058/0.03254, allocations: 247.3 kB / 0.8357 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.03265, allocations: 95.44 kB / 0.8358 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.784e-05/0.03273, allocations: 80.41 kB / 0.8359 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.03273, allocations: 4 kB / 0.8359 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.03273, allocations: 0 / 0.8359 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.03274, allocations: 0 / 0.8359 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.03378, allocations: 0.887 MB / 0.8368 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.03378, allocations: 7.984 kB / 0.8368 GB, free: 6.848 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.03404, allocations: 71.95 kB / 0.8369 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.03417, allocations: 39.59 kB / 0.8369 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.03419, allocations: 20.05 kB / 0.8369 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.03796, allocations: 1.736 MB / 0.8386 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03796, allocations: 0 / 0.8386 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.03848, allocations: 0.5025 MB / 0.8391 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.03867, allocations: 127.5 kB / 0.8392 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.03873, allocations: 11.98 kB / 0.8392 GB, free: 4.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.039, allocations: 19.98 kB / 0.8393 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.03905, allocations: 23.91 kB / 0.8393 GB, free: 4.137 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.03907, allocations: 7.984 kB / 0.8393 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000521/0.03959, allocations: 0.5184 MB / 0.8398 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.03959, allocations: 4 kB / 0.8398 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006196/0.04021, allocations: 204 kB / 0.84 GB, free: 3.41 MB / 0.7917 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 0.0001043/0.04031, allocations: 111.2 kB / 0.8401 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.04401, allocations: 0.5144 MB / 0.8406 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.04401, allocations: 0 / 0.8406 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.04422, allocations: 281.8 kB / 0.8409 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.0449, allocations: 167.2 kB / 0.841 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.04979, allocations: 1.391 MB / 0.8424 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.04993, allocations: 189.8 kB / 0.8426 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.05019, allocations: 125.5 kB / 0.8427 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.05031, allocations: 48.5 kB / 0.8427 GB, free: 488 kB / 0.7917 GB Notification: Performance of SimCode: time 7.82e-07/0.05031, allocations: 4 kB / 0.8427 GB, free: 484 kB / 0.7917 GB Notification: Performance of Templates: time 0.02956/0.07987, allocations: 9.885 MB / 0.8524 GB, free: 6.816 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.165218191221356]