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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001556/0.001557, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002197/0.002197, allocations: 199.3 kB / 16.14 MB, free: 6.711 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.6842, allocations: 140.4 MB / 0.9489 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003989/0.6883, allocations: 3.766 MB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.6918, allocations: 2.538 MB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.6922, allocations: 12.91 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.6929, allocations: 223.1 kB / 0.9553 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.6938, allocations: 460.4 kB / 0.9557 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.6948, allocations: 467.9 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.6964, allocations: 1.629 MB / 0.9578 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.6967, allocations: 135.9 kB / 0.9579 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.6973, allocations: 383 kB / 0.9583 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008398/0.6981, allocations: 0.5189 MB / 0.9588 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.6983, allocations: 37.22 kB / 0.9588 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.6985, allocations: 42.94 kB / 0.9588 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.6988, allocations: 316.9 kB / 0.9591 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.6993, allocations: 444.7 kB / 0.9596 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008711/0.7002, allocations: 0.9034 MB / 0.9604 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.7002, allocations: 1.438 kB / 0.9604 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7002, allocations: 0 / 0.9604 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.7002, allocations: 0 / 0.9604 GB, free: 0.9688 MB / 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.002599/0.7029, allocations: 1.265 MB / 0.9617 GB, free: 12 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7029, allocations: 12.59 kB / 0.9617 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.7031, allocations: 103.4 kB / 0.9618 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.7042, allocations: 0.6458 MB / 0.9624 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.7042, allocations: 37.06 kB / 0.9625 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.847e-05/0.7043, allocations: 65.91 kB / 0.9625 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.705, allocations: 412.6 kB / 0.9629 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.705, allocations: 3.938 kB / 0.9629 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.7051, allocations: 19.75 kB / 0.9629 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.7051, allocations: 8.531 kB / 0.9629 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.7055, allocations: 237.2 kB / 0.9632 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.709, allocations: 2.494 MB / 0.9656 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.7107, allocations: 0.5492 MB / 0.9661 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.711, allocations: 163.7 kB / 0.9663 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.7111, allocations: 11.06 kB / 0.9663 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.7111, allocations: 32.78 kB / 0.9663 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/0.7111, allocations: 0 / 0.9663 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001886/0.713, allocations: 0.8836 MB / 0.9672 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.7131, allocations: 55.34 kB / 0.9673 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.7143, allocations: 0.9299 MB / 0.9682 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.7144, allocations: 41.2 kB / 0.9682 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.7147, allocations: 357.9 kB / 0.9685 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.7148, allocations: 114.5 kB / 0.9687 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.715, allocations: 170.6 kB / 0.9688 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.7152, allocations: 396.8 kB / 0.9692 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.7156, allocations: 244.1 kB / 0.9694 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.7163, allocations: 0.6401 MB / 0.9701 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7174, allocations: 0.8899 MB / 0.9709 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.7174, allocations: 7.625 kB / 0.9709 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001692/0.7191, allocations: 1.016 MB / 0.9719 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.7191, allocations: 14.81 kB / 0.9719 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.7192, allocations: 13.62 kB / 0.9719 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.7196, allocations: 129.5 kB / 0.9721 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.7202, allocations: 190.6 kB / 0.9723 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.7235, allocations: 4.159 MB / 0.9763 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7246, allocations: 115.2 kB / 0.9764 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.7246, allocations: 39.41 kB / 0.9765 GB, free: 3.734 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.0003801/0.725, allocations: 275 kB / 0.9767 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.7252, allocations: 85.66 kB / 0.9768 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.7253, allocations: 79.3 kB / 0.9769 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.7253, allocations: 7.5 kB / 0.9769 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.7253, allocations: 5.281 kB / 0.9769 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7253, allocations: 0 / 0.9769 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007853/0.7261, allocations: 0.652 MB / 0.9775 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7261, allocations: 3.938 kB / 0.9775 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.7265, allocations: 65.2 kB / 0.9776 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.7268, allocations: 102.7 kB / 0.9777 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.7268, allocations: 8.125 kB / 0.9777 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.73, allocations: 4.142 MB / 0.9817 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.73, allocations: 1.438 kB / 0.9817 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.7312, allocations: 0.7406 MB / 0.9825 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.7315, allocations: 204 kB / 0.9827 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.7316, allocations: 11.98 kB / 0.9827 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.7321, allocations: 23.88 kB / 0.9827 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.7322, allocations: 31.84 kB / 0.9827 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.7322, allocations: 8 kB / 0.9827 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009426/0.7331, allocations: 0.6278 MB / 0.9834 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7331, allocations: 0 / 0.9834 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009808/0.7341, allocations: 263.8 kB / 0.9836 GB, free: 12.82 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.0001359/0.7343, allocations: 103.2 kB / 0.9837 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.7357, allocations: 0.9316 MB / 0.9846 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7357, allocations: 0 / 0.9846 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.7363, allocations: 0.5167 MB / 0.9851 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.7373, allocations: 167.1 kB / 0.9853 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.7404, allocations: 1.968 MB / 0.9872 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.741, allocations: 0.9878 MB / 0.9882 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004259/0.7414, allocations: 153.8 kB / 0.9883 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.7416, allocations: 51.44 kB / 0.9884 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.7416, allocations: 0 / 0.9884 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of Templates: time 0.01733/0.7589, allocations: 9.659 MB / 0.9978 GB, free: 14.25 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