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.0008283/0.0008284, allocations: 86.95 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.0008752/0.0008752, 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.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.047/3.047, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 10.03 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004005/0.3306, allocations: 3.223 MB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.3346, allocations: 2.393 MB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.3351, allocations: 11.94 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007347/0.3359, allocations: 210.8 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3373, allocations: 445.9 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.3384, allocations: 426.2 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.3399, allocations: 1.312 MB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.3402, allocations: 115.5 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.3407, allocations: 382.6 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.3413, allocations: 0.4983 MB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.594e-05/0.3414, allocations: 32 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3415, allocations: 36 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.3418, allocations: 311.1 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.342, allocations: 189.2 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006103/0.3426, allocations: 0.6934 MB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3426, allocations: 8 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3426, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3427, allocations: 0 / 1.068 GB, free: 11.07 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.001936/0.3446, allocations: 1.148 MB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3447, allocations: 12.03 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3448, allocations: 98.78 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.3458, allocations: 0.628 MB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.3458, allocations: 36.66 kB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.3459, allocations: 59.95 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.3466, allocations: 411 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3466, allocations: 7.875 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3466, allocations: 16 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3466, allocations: 8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.3471, allocations: 234.4 kB / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.35, allocations: 2.521 MB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3514, allocations: 0.5506 MB / 1.074 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.3517, allocations: 164.8 kB / 1.074 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3517, allocations: 7.938 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3517, allocations: 38.56 kB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.492e-06/0.3517, allocations: 0 / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001557/0.3533, allocations: 0.8871 MB / 1.075 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.3534, allocations: 55.41 kB / 1.075 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3545, allocations: 0.9154 MB / 1.076 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.3546, allocations: 41.7 kB / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.3549, allocations: 364.8 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.355, allocations: 118.3 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.355, allocations: 16 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3552, allocations: 390.8 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.3556, allocations: 253.8 kB / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007568/0.3564, allocations: 0.6349 MB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.3569, allocations: 339.4 kB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3569, allocations: 4 kB / 1.078 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001536/0.3584, allocations: 1.007 MB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3585, allocations: 14.25 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.3585, allocations: 27.98 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.3589, allocations: 122.4 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.3595, allocations: 195.7 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.3632, allocations: 4.146 MB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.3641, allocations: 118.9 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.3642, allocations: 40 kB / 1.083 GB, free: 10.43 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 (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.0003781/0.3645, allocations: 281.4 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3647, allocations: 78.97 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.3648, allocations: 76.53 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3648, allocations: 4 kB / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.3648, allocations: 0 / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3649, allocations: 7.984 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/0.3656, allocations: 0.6608 MB / 1.084 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3656, allocations: 3.938 kB / 1.084 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.3659, allocations: 79.81 kB / 1.084 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.3662, allocations: 98.5 kB / 1.084 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.3663, allocations: 11.98 kB / 1.084 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.3698, allocations: 4.135 MB / 1.088 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3698, allocations: 0 / 1.088 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3709, allocations: 0.7447 MB / 1.089 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.3712, allocations: 203.9 kB / 1.089 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.3713, allocations: 15.98 kB / 1.089 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3717, allocations: 23.97 kB / 1.089 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.3718, allocations: 23.97 kB / 1.089 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3718, allocations: 8 kB / 1.089 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008293/0.3726, allocations: 0.6161 MB / 1.09 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3726, allocations: 0 / 1.09 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009126/0.3736, allocations: 275.7 kB / 1.09 GB, free: 2.594 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 (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.0001786/0.3737, allocations: 115.2 kB / 1.09 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.3751, allocations: 0.9133 MB / 1.091 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3751, allocations: 448 / 1.091 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.3757, allocations: 0.5311 MB / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/0.3766, allocations: 173 kB / 1.092 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.3792, allocations: 2.032 MB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.3799, allocations: 0.9916 MB / 1.095 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004218/0.3803, allocations: 149.9 kB / 1.095 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.3804, allocations: 51.44 kB / 1.095 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/0.3804, allocations: 0 / 1.095 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of Templates: time 0.01837/0.3988, allocations: 9.227 MB / 1.104 GB, free: 4.375 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches