Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001155/0.001155, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001206/0.001206, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.413/2.413, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.86 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2829, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004789/0.2877, allocations: 3.753 MB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004005/0.2918, allocations: 2.502 MB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.2923, allocations: 15.88 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.293, allocations: 250.4 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009296/0.294, allocations: 0.4927 MB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.2952, allocations: 0.5378 MB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.2967, allocations: 1.39 MB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.2969, allocations: 149.1 kB / 1.036 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.2975, allocations: 426.5 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.298, allocations: 462.2 kB / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.2981, allocations: 56 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2982, allocations: 60 kB / 1.037 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.2986, allocations: 374.9 kB / 1.037 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.299, allocations: 477.5 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007979/0.2998, allocations: 0.9303 MB / 1.038 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2998, allocations: 0 / 1.038 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2999, allocations: 0 / 1.038 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2999, allocations: 0 / 1.038 GB, free: 6.215 MB / 0.8106 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.002192/0.3021, allocations: 1.265 MB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3021, allocations: 12.03 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3023, allocations: 103.7 kB / 1.04 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3033, allocations: 0.6753 MB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3034, allocations: 37.03 kB / 1.04 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.3035, allocations: 60.38 kB / 1.04 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.304, allocations: 414.9 kB / 1.041 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3041, allocations: 3.938 kB / 1.041 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.3041, allocations: 16 kB / 1.041 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3041, allocations: 8 kB / 1.041 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.3045, allocations: 238.4 kB / 1.041 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.3075, allocations: 2.482 MB / 1.043 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.3089, allocations: 0.5493 MB / 1.044 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3092, allocations: 169.3 kB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3092, allocations: 0 / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3092, allocations: 42.55 kB / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.212e-06/0.3092, allocations: 0 / 1.044 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001534/0.3108, allocations: 0.8857 MB / 1.045 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3108, allocations: 51.41 kB / 1.045 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3119, allocations: 0.9271 MB / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.312, allocations: 41.7 kB / 1.046 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.3123, allocations: 364.7 kB / 1.046 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3124, allocations: 118.3 kB / 1.046 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.3126, allocations: 166.6 kB / 1.047 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3128, allocations: 398.7 kB / 1.047 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.3131, allocations: 245.8 kB / 1.047 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.3137, allocations: 0.6465 MB / 1.048 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.3147, allocations: 0.8875 MB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.3147, allocations: 8 kB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001486/0.3162, allocations: 1.017 MB / 1.05 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3162, allocations: 8 kB / 1.05 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3163, allocations: 16 kB / 1.05 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.3166, allocations: 122.4 kB / 1.05 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.3172, allocations: 195.7 kB / 1.05 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.3207, allocations: 4.47 MB / 1.054 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009748/0.3217, allocations: 114.9 kB / 1.055 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.3218, allocations: 44 kB / 1.055 GB, free: 4.195 MB / 0.8262 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.000339/0.3221, allocations: 269.3 kB / 1.055 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3223, allocations: 78.97 kB / 1.055 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.3224, allocations: 88.53 kB / 1.055 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3224, allocations: 4 kB / 1.055 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3224, allocations: 0 / 1.055 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3224, allocations: 7.984 kB / 1.055 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.3231, allocations: 0.6608 MB / 1.056 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3231, allocations: 0 / 1.056 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.3235, allocations: 59.94 kB / 1.056 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.3238, allocations: 106.4 kB / 1.056 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.3238, allocations: 11.98 kB / 1.056 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.327, allocations: 4.446 MB / 1.06 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.327, allocations: 0 / 1.06 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.328, allocations: 0.7353 MB / 1.061 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.3283, allocations: 211.9 kB / 1.061 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.3284, allocations: 8 kB / 1.061 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.3289, allocations: 19.97 kB / 1.061 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.329, allocations: 23.97 kB / 1.061 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.329, allocations: 4.188 kB / 1.061 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007969/0.3298, allocations: 0.6278 MB / 1.062 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.324e-06/0.3298, allocations: 0 / 1.062 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008054/0.3306, allocations: 279.6 kB / 1.062 GB, free: 12.04 MB / 0.8419 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.0001239/0.3307, allocations: 103.2 kB / 1.062 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.332, allocations: 0.9279 MB / 1.063 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.332, allocations: 3.938 kB / 1.063 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.3326, allocations: 0.5171 MB / 1.064 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007963/0.3334, allocations: 179.3 kB / 1.064 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.3357, allocations: 1.711 MB / 1.065 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.3362, allocations: 0.9916 MB / 1.066 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.3365, allocations: 149.8 kB / 1.066 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3367, allocations: 51.44 kB / 1.067 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3367, allocations: 0 / 1.067 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.4436/0.7803, allocations: 10.09 MB / 1.076 GB, free: 49.46 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches