Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004051, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8055, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003596/0.8092, allocations: 3.226 MB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.8132, allocations: 2.378 MB / 0.9599 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.8137, allocations: 11.12 kB / 0.9599 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.8145, allocations: 207.6 kB / 0.9601 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.8155, allocations: 447.7 kB / 0.9605 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.8169, allocations: 424.6 kB / 0.9609 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.8187, allocations: 1.32 MB / 0.9622 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.8189, allocations: 128 kB / 0.9623 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.8197, allocations: 376.7 kB / 0.9627 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000696/0.8204, allocations: 0.5067 MB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.482e-05/0.8205, allocations: 32.72 kB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.8206, allocations: 34.59 kB / 0.9633 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.8209, allocations: 311.8 kB / 0.9636 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.8211, allocations: 187.9 kB / 0.9637 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.8217, allocations: 0.6948 MB / 0.9644 GB, free: 404 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8217, allocations: 1.438 kB / 0.9644 GB, free: 404 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8217, allocations: 0 / 0.9644 GB, free: 404 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.8217, allocations: 0 / 0.9644 GB, free: 404 kB / 0.7169 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.002099/0.8238, allocations: 1.148 MB / 0.9655 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.8239, allocations: 8.531 kB / 0.9655 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.8241, allocations: 106.1 kB / 0.9656 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.8251, allocations: 0.6256 MB / 0.9663 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.8252, allocations: 40.78 kB / 0.9663 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.886e-05/0.8253, allocations: 56.66 kB / 0.9663 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.826, allocations: 411.7 kB / 0.9667 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.826, allocations: 1 kB / 0.9667 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.8261, allocations: 11.19 kB / 0.9668 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.8261, allocations: 8.875 kB / 0.9668 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.8266, allocations: 242.6 kB / 0.967 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.8301, allocations: 2.518 MB / 0.9695 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.8316, allocations: 0.5454 MB / 0.97 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.8319, allocations: 160.9 kB / 0.9701 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.832, allocations: 6.688 kB / 0.9701 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.832, allocations: 45.22 kB / 0.9702 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 3.566e-06/0.832, allocations: 0 / 0.9702 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001739/0.8338, allocations: 0.8853 MB / 0.9711 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.8338, allocations: 58.03 kB / 0.9711 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.8352, allocations: 0.9187 MB / 0.972 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.8353, allocations: 40.95 kB / 0.972 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.8356, allocations: 369.9 kB / 0.9724 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.8358, allocations: 114.3 kB / 0.9725 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.8358, allocations: 15.12 kB / 0.9725 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.8361, allocations: 397.1 kB / 0.9729 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.8365, allocations: 246.3 kB / 0.9731 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.8372, allocations: 0.6461 MB / 0.9738 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.8378, allocations: 333 kB / 0.9741 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.8378, allocations: 8.75 kB / 0.9741 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001753/0.8396, allocations: 1.015 MB / 0.9751 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.8396, allocations: 15.69 kB / 0.9751 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.8397, allocations: 12.94 kB / 0.9751 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.8401, allocations: 119.3 kB / 0.9752 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.8407, allocations: 196.6 kB / 0.9754 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.844, allocations: 4.165 MB / 0.9795 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.8451, allocations: 117 kB / 0.9796 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/0.8452, allocations: 43 kB / 0.9796 GB, free: 3.992 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004232/0.8456, allocations: 271.3 kB / 0.9799 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.8458, allocations: 79.09 kB / 0.98 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.8459, allocations: 82.2 kB / 0.98 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.8459, allocations: 7.797 kB / 0.9801 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.8459, allocations: 1.406 kB / 0.9801 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.846, allocations: 0 / 0.9801 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008784/0.8468, allocations: 0.6528 MB / 0.9807 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.8469, allocations: 4 kB / 0.9807 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.8472, allocations: 61.89 kB / 0.9808 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.8475, allocations: 101.8 kB / 0.9808 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.8475, allocations: 11.94 kB / 0.9809 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.8511, allocations: 4.139 MB / 0.9849 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8511, allocations: 0 / 0.9849 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.8526, allocations: 0.7412 MB / 0.9856 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.853, allocations: 207.9 kB / 0.9858 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.8531, allocations: 8 kB / 0.9858 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.8535, allocations: 31.92 kB / 0.9859 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.8536, allocations: 23.91 kB / 0.9859 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.8537, allocations: 11.98 kB / 0.9859 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00111/0.8548, allocations: 0.6122 MB / 0.9865 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8548, allocations: 0 / 0.9865 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001242/0.856, allocations: 271.8 kB / 0.9868 GB, free: 12.81 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.8562, allocations: 107.2 kB / 0.9869 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.8577, allocations: 0.9289 MB / 0.9878 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8578, allocations: 4.125 kB / 0.9878 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.8584, allocations: 0.5194 MB / 0.9883 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.8593, allocations: 172.7 kB / 0.9884 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.8623, allocations: 2.057 MB / 0.9904 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.863, allocations: 0.9956 MB / 0.9914 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004347/0.8634, allocations: 145.9 kB / 0.9916 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.8636, allocations: 47.38 kB / 0.9916 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/0.8636, allocations: 0 / 0.9916 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of Templates: time 0.01906/0.8826, allocations: 9.226 MB / 1.001 GB, free: 14.59 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches