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.0009849/0.000985, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.34 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.451/2.451, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6249/0.6253, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.002979/0.6283, allocations: 3.372 MB / 0.959 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.6315, allocations: 2.511 MB / 0.9614 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.6318, allocations: 15.91 kB / 0.9615 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.6325, allocations: 225.6 kB / 0.9617 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000758/0.6332, allocations: 466.8 kB / 0.9621 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.6342, allocations: 467.9 kB / 0.9626 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.6356, allocations: 1.62 MB / 0.9641 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.6359, allocations: 135.7 kB / 0.9643 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.6363, allocations: 371.8 kB / 0.9646 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.6369, allocations: 0.507 MB / 0.9651 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.637, allocations: 36.5 kB / 0.9652 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.6371, allocations: 38.5 kB / 0.9652 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.6373, allocations: 313.1 kB / 0.9655 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.6377, allocations: 458.1 kB / 0.9659 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.6383, allocations: 0.6909 MB / 0.9666 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6383, allocations: 1 kB / 0.9666 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6383, allocations: 0 / 0.9666 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.6383, allocations: 0 / 0.9666 GB, free: 15.82 MB / 0.7325 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.002349/0.6407, allocations: 1.142 MB / 0.9677 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.6407, allocations: 9.25 kB / 0.9677 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.6409, allocations: 102.5 kB / 0.9678 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6419, allocations: 0.6538 MB / 0.9685 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.642, allocations: 37.47 kB / 0.9685 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.6421, allocations: 57.62 kB / 0.9686 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.6427, allocations: 418 kB / 0.969 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6427, allocations: 4.969 kB / 0.969 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.6428, allocations: 11 kB / 0.969 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6428, allocations: 8.219 kB / 0.969 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.6433, allocations: 245.1 kB / 0.9692 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.6464, allocations: 2.521 MB / 0.9717 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.6478, allocations: 0.5554 MB / 0.9722 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.6481, allocations: 169.3 kB / 0.9724 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6482, allocations: 3.125 kB / 0.9724 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.6482, allocations: 32.47 kB / 0.9724 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.6482, allocations: 0 / 0.9724 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001694/0.6499, allocations: 0.903 MB / 0.9733 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.65, allocations: 54.44 kB / 0.9733 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6512, allocations: 0.9262 MB / 0.9742 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.6512, allocations: 40.7 kB / 0.9743 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.6515, allocations: 366 kB / 0.9746 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.6517, allocations: 114 kB / 0.9747 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.6518, allocations: 100.5 kB / 0.9748 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.652, allocations: 389 kB / 0.9752 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.6524, allocations: 249.8 kB / 0.9754 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/0.6531, allocations: 0.6378 MB / 0.9761 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.6541, allocations: 0.8927 MB / 0.9769 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.6541, allocations: 3.812 kB / 0.9769 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001664/0.6558, allocations: 1.019 MB / 0.9779 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.6559, allocations: 16.16 kB / 0.978 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.6559, allocations: 21.06 kB / 0.978 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.6563, allocations: 126.2 kB / 0.9781 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.657, allocations: 191.6 kB / 0.9783 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.6602, allocations: 4.153 MB / 0.9823 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.6613, allocations: 115.7 kB / 0.9824 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.6613, allocations: 44 kB / 0.9825 GB, free: 2.633 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 (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.0003512/0.6617, allocations: 273.4 kB / 0.9828 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.6618, allocations: 78.97 kB / 0.9828 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.662, allocations: 80.52 kB / 0.9829 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.662, allocations: 4 kB / 0.9829 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.662, allocations: 3.938 kB / 0.9829 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.662, allocations: 4 kB / 0.9829 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/0.6628, allocations: 0.6569 MB / 0.9836 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6628, allocations: 7.938 kB / 0.9836 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.6632, allocations: 71.83 kB / 0.9836 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.6635, allocations: 102.5 kB / 0.9837 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.6635, allocations: 12 kB / 0.9837 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.6666, allocations: 4.134 MB / 0.9878 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6666, allocations: 0 / 0.9878 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.6677, allocations: 0.7486 MB / 0.9885 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.6681, allocations: 203.9 kB / 0.9887 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.6682, allocations: 12 kB / 0.9887 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.6687, allocations: 27.88 kB / 0.9887 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.6688, allocations: 23.91 kB / 0.9888 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.6688, allocations: 15.98 kB / 0.9888 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008725/0.6697, allocations: 0.6161 MB / 0.9894 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6697, allocations: 0 / 0.9894 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009446/0.6707, allocations: 267.8 kB / 0.9896 GB, free: 10.8 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 (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.0001461/0.6708, allocations: 115.2 kB / 0.9897 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.6722, allocations: 0.9365 MB / 0.9907 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6723, allocations: 0 / 0.9907 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.6729, allocations: 0.5233 MB / 0.9912 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/0.6738, allocations: 159.5 kB / 0.9913 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.6767, allocations: 2.168 MB / 0.9934 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.6774, allocations: 0.9878 MB / 0.9944 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.6775, allocations: 47.44 kB / 0.9945 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/0.6776, allocations: 0 / 0.9945 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of Templates: time 0.02146/0.699, allocations: 17.48 MB / 1.012 GB, free: 4.273 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches