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.001512/0.001513, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001662/0.001662, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.6/2.6, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.28 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3382, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00582/0.3441, allocations: 3.749 MB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004825/0.3489, allocations: 2.498 MB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007094/0.3497, allocations: 15.94 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009824/0.3507, allocations: 262.3 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.3521, allocations: 0.4899 MB / 1.034 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.3538, allocations: 0.5409 MB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3557, allocations: 1.379 MB / 1.035 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.356, allocations: 153.1 kB / 1.036 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.3566, allocations: 426.5 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007017/0.3573, allocations: 462.2 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/0.3574, allocations: 52 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.3576, allocations: 64 kB / 1.037 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.358, allocations: 371 kB / 1.037 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.3584, allocations: 473.5 kB / 1.037 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008842/0.3593, allocations: 0.9303 MB / 1.038 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3593, allocations: 0 / 1.038 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3593, allocations: 4 kB / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.3593, allocations: 3.938 kB / 1.038 GB, free: 6.219 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.002538/0.3619, allocations: 1.269 MB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3619, allocations: 8.031 kB / 1.039 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3621, allocations: 107.7 kB / 1.04 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3632, allocations: 0.6714 MB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.3633, allocations: 41.03 kB / 1.04 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.3634, allocations: 56.38 kB / 1.04 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.364, allocations: 414.9 kB / 1.041 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.364, allocations: 0 / 1.041 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.364, allocations: 12 kB / 1.041 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.364, allocations: 8 kB / 1.041 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.3644, allocations: 238.4 kB / 1.041 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.3679, allocations: 2.49 MB / 1.043 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.3694, allocations: 0.5493 MB / 1.044 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.3697, allocations: 161.3 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3697, allocations: 4 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.3698, allocations: 34.56 kB / 1.044 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.3698, allocations: 0 / 1.044 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001759/0.3716, allocations: 0.8973 MB / 1.045 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3716, allocations: 55.41 kB / 1.045 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3728, allocations: 0.9193 MB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.3728, allocations: 41.7 kB / 1.046 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.3731, allocations: 372.8 kB / 1.046 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3732, allocations: 114.3 kB / 1.046 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.3735, allocations: 170.6 kB / 1.047 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3737, allocations: 394.7 kB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.3741, allocations: 245.8 kB / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.3747, allocations: 0.6425 MB / 1.048 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.3758, allocations: 0.8954 MB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.3759, allocations: 4 kB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001573/0.3774, allocations: 1.017 MB / 1.05 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3775, allocations: 12 kB / 1.05 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3775, allocations: 15.98 kB / 1.05 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.3779, allocations: 130.6 kB / 1.05 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.3785, allocations: 187.7 kB / 1.05 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.3823, allocations: 4.473 MB / 1.054 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009764/0.3833, allocations: 110.9 kB / 1.055 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.3834, allocations: 47.94 kB / 1.055 GB, free: 4.191 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.0004061/0.3838, allocations: 273.4 kB / 1.055 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.384, allocations: 82.95 kB / 1.055 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.3841, allocations: 76.53 kB / 1.055 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3842, allocations: 4 kB / 1.055 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3842, allocations: 0 / 1.055 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3842, allocations: 7.984 kB / 1.055 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/0.3851, allocations: 0.653 MB / 1.056 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3851, allocations: 0 / 1.056 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.3854, allocations: 67.88 kB / 1.056 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.3858, allocations: 102.5 kB / 1.056 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.3858, allocations: 8 kB / 1.056 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003788/0.3896, allocations: 4.446 MB / 1.06 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3896, allocations: 4.125 kB / 1.06 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.391, allocations: 0.7274 MB / 1.061 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.3914, allocations: 211.9 kB / 1.061 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.3915, allocations: 8.188 kB / 1.061 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.3919, allocations: 23.97 kB / 1.061 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.392, allocations: 27.95 kB / 1.061 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.392, allocations: 8 kB / 1.061 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008173/0.3929, allocations: 0.6239 MB / 1.062 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3929, allocations: 0 / 1.062 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008996/0.3938, allocations: 275.6 kB / 1.062 GB, free: 12.05 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.0001512/0.3939, allocations: 111.2 kB / 1.062 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.3954, allocations: 0.9332 MB / 1.063 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.3954, allocations: 4.125 kB / 1.063 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.396, allocations: 0.5156 MB / 1.064 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.3969, allocations: 168.4 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.002504/0.3994, allocations: 1.708 MB / 1.065 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.4, allocations: 0.9916 MB / 1.066 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003667/0.4004, allocations: 149.8 kB / 1.066 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4005, allocations: 55.44 kB / 1.067 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.4005, allocations: 0 / 1.067 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.5034/0.904, allocations: 10.09 MB / 1.076 GB, free: 49.49 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 cvode -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