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.000845/0.0008449, allocations: 99.19 kB / 16.02 MB, free: 76 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.0009602/0.0009603, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.626/2.626, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8.719 kB / 0.9034 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2802, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003757/0.284, allocations: 3.384 MB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.2879, allocations: 2.502 MB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.2883, allocations: 19.88 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.289, allocations: 222.8 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2901, allocations: 474 kB / 1.066 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2911, allocations: 467.1 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.2929, allocations: 1.632 MB / 1.068 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.2932, allocations: 128.8 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.2937, allocations: 366.5 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006713/0.2944, allocations: 0.5098 MB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.2945, allocations: 32 kB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2946, allocations: 36 kB / 1.069 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.295, allocations: 307 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.2954, allocations: 463.2 kB / 1.07 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.296, allocations: 0.6935 MB / 1.07 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.296, allocations: 0 / 1.07 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.296, allocations: 0 / 1.07 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.296, allocations: 0 / 1.07 GB, free: 9.766 MB / 0.8262 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.00201/0.298, allocations: 1.144 MB / 1.071 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2981, allocations: 11.97 kB / 1.071 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.2983, allocations: 107.7 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.2992, allocations: 0.652 MB / 1.072 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.2993, allocations: 37.03 kB / 1.072 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.2994, allocations: 64.31 kB / 1.072 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.3, allocations: 418.9 kB / 1.073 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3001, allocations: 0 / 1.073 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.3001, allocations: 12 kB / 1.073 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.3001, allocations: 8 kB / 1.073 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.3005, allocations: 242.4 kB / 1.073 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.3035, allocations: 2.513 MB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.3049, allocations: 0.5532 MB / 1.076 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.3052, allocations: 164.8 kB / 1.076 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3053, allocations: 11.94 kB / 1.076 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3053, allocations: 34.56 kB / 1.076 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.382e-06/0.3053, allocations: 0 / 1.076 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.00167/0.307, allocations: 0.8945 MB / 1.077 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.307, allocations: 59.34 kB / 1.077 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3082, allocations: 0.9231 MB / 1.078 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.3083, allocations: 37.7 kB / 1.078 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.3086, allocations: 372.8 kB / 1.078 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3087, allocations: 114.4 kB / 1.078 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.3088, allocations: 93.66 kB / 1.078 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.309, allocations: 398.8 kB / 1.079 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.3094, allocations: 245.8 kB / 1.079 GB, free: 260 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.3101, allocations: 0.6349 MB / 1.08 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3112, allocations: 0.9046 MB / 1.081 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.3112, allocations: 4 kB / 1.081 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001649/0.3128, allocations: 1.018 MB / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3129, allocations: 12 kB / 1.082 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/0.3129, allocations: 12 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.3134, allocations: 134.6 kB / 1.082 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.314, allocations: 191.7 kB / 1.082 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.3174, allocations: 4.161 MB / 1.086 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.3184, allocations: 119 kB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.3184, allocations: 40 kB / 1.086 GB, free: 8.211 MB / 0.8419 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.0003304/0.3188, allocations: 273.5 kB / 1.086 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3189, allocations: 82.88 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.319, allocations: 76.7 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.319, allocations: 7.984 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.319, allocations: 3.938 kB / 1.087 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3191, allocations: 0 / 1.087 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008008/0.3199, allocations: 0.6531 MB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3199, allocations: 0 / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.3202, allocations: 63.95 kB / 1.087 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.3205, allocations: 110.4 kB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.3205, allocations: 8 kB / 1.087 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.3237, allocations: 4.134 MB / 1.091 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3237, allocations: 0 / 1.091 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3248, allocations: 0.7514 MB / 1.092 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.3251, allocations: 211.8 kB / 1.092 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.3252, allocations: 8 kB / 1.092 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.3257, allocations: 23.97 kB / 1.092 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.3258, allocations: 23.91 kB / 1.092 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3258, allocations: 12 kB / 1.092 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008695/0.3267, allocations: 0.6239 MB / 1.093 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3267, allocations: 0 / 1.093 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008144/0.3275, allocations: 271.8 kB / 1.093 GB, free: 392 kB / 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.0001255/0.3276, allocations: 111.2 kB / 1.093 GB, free: 268 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.3291, allocations: 0.9324 MB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3291, allocations: 3.938 kB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.3297, allocations: 0.5272 MB / 1.095 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.3307, allocations: 165.1 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.3335, allocations: 2.157 MB / 1.097 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.3341, allocations: 0.9878 MB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.3342, allocations: 55.42 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.3342, allocations: 3.938 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.02077/0.355, allocations: 17.47 MB / 1.115 GB, free: 9.855 MB / 0.8731 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 -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