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.001635/0.001635, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001864/0.001864, allocations: 169 kB / 24.28 MB, free: 276 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 1.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.896/1.896, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.823e-06/1.823e-06, allocations: 0 / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.028e-05, allocations: 2.938 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00377/0.00379, allocations: 3.766 MB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.008273, allocations: 2.514 MB / 0.8176 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.008646, allocations: 19.81 kB / 0.8177 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.009282, allocations: 250.9 kB / 0.8179 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008324/0.01011, allocations: 0.5456 MB / 0.8184 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01111, allocations: 0.568 MB / 0.819 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.01224, allocations: 1.443 MB / 0.8204 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.01249, allocations: 101.7 kB / 0.8205 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.01328, allocations: 0.5963 MB / 0.8211 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.0137, allocations: 422.9 kB / 0.8215 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.01377, allocations: 59.44 kB / 0.8215 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.01389, allocations: 67.94 kB / 0.8216 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.01418, allocations: 406.9 kB / 0.822 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.01442, allocations: 327.2 kB / 0.8223 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.01498, allocations: 0.6499 MB / 0.8229 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01498, allocations: 3.938 kB / 0.8229 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01498, allocations: 0 / 0.8229 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.01499, allocations: 0 / 0.8229 GB, free: 6.387 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.001532/0.01652, allocations: 1.335 MB / 0.8242 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.01656, allocations: 12.03 kB / 0.8242 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.01682, allocations: 136 kB / 0.8244 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.0175, allocations: 0.6014 MB / 0.825 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.01754, allocations: 41.97 kB / 0.825 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.0176, allocations: 52.38 kB / 0.8251 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.01795, allocations: 330.1 kB / 0.8254 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01796, allocations: 4.125 kB / 0.8254 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.01799, allocations: 19.94 kB / 0.8254 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.018, allocations: 9.125 kB / 0.8254 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.01818, allocations: 116.9 kB / 0.8255 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.01993, allocations: 2.171 MB / 0.8276 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.02067, allocations: 425.5 kB / 0.828 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.02078, allocations: 71.66 kB / 0.8281 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.02079, allocations: 4 kB / 0.8281 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.02081, allocations: 44.92 kB / 0.8282 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.02081, allocations: 0 / 0.8282 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.00078/0.02159, allocations: 457 kB / 0.8286 GB, free: 392 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.02163, allocations: 59.39 kB / 0.8286 GB, free: 320 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/0.02233, allocations: 0.8701 MB / 0.8295 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.02236, allocations: 37.7 kB / 0.8295 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.02258, allocations: 443.9 kB / 0.83 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.02265, allocations: 119 kB / 0.8301 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.0228, allocations: 184.3 kB / 0.8302 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.02297, allocations: 0.582 MB / 0.8308 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.02311, allocations: 85.94 kB / 0.8309 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.0235, allocations: 0.6687 MB / 0.8315 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/0.02409, allocations: 0.8214 MB / 0.8323 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.0241, allocations: 4 kB / 0.8324 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.000816/0.02491, allocations: 0.7343 MB / 0.8331 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.02493, allocations: 8.125 kB / 0.8331 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.02494, allocations: 20 kB / 0.8331 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/0.02529, allocations: 123 kB / 0.8332 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.02562, allocations: 191.7 kB / 0.8334 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.02776, allocations: 5.378 MB / 0.8386 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.02818, allocations: 115.2 kB / 0.8388 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.02822, allocations: 40 kB / 0.8388 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.00015/0.02837, allocations: 216.2 kB / 0.839 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.02846, allocations: 99.5 kB / 0.8391 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.02851, allocations: 72.42 kB / 0.8392 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.02852, allocations: 7.938 kB / 0.8392 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.02852, allocations: 4 kB / 0.8392 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02853, allocations: 3.984 kB / 0.8392 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.02893, allocations: 472.2 kB / 0.8396 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02893, allocations: 3.984 kB / 0.8396 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.0291, allocations: 63.95 kB / 0.8397 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/0.02934, allocations: 106.9 kB / 0.8398 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.02936, allocations: 8 kB / 0.8398 GB, free: 3.844 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.03132, allocations: 5.338 MB / 0.845 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03132, allocations: 11.97 kB / 0.845 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.03181, allocations: 0.5352 MB / 0.8456 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.03198, allocations: 135.2 kB / 0.8457 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.03203, allocations: 7.984 kB / 0.8457 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.03225, allocations: 23.97 kB / 0.8457 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.03231, allocations: 23.95 kB / 0.8457 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.03232, allocations: 4 kB / 0.8457 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004367/0.03276, allocations: 0.5301 MB / 0.8463 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.03276, allocations: 0 / 0.8463 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005086/0.03326, allocations: 267.8 kB / 0.8465 GB, free: 12.58 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.0001035/0.03337, allocations: 107.2 kB / 0.8466 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.0341, allocations: 0.8814 MB / 0.8475 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0341, allocations: 0 / 0.8475 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.03442, allocations: 0.6221 MB / 0.8481 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.03493, allocations: 159.8 kB / 0.8482 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.03662, allocations: 1.445 MB / 0.8496 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.03676, allocations: 194 kB / 0.8498 GB, free: 9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.03698, allocations: 117.6 kB / 0.8499 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.03708, allocations: 48.5 kB / 0.85 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.03708, allocations: 0 / 0.85 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of Templates: time 0.01293/0.05001, allocations: 10.82 MB / 0.8606 GB, free: 14.26 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.700851880945265]