Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 104 kB / 16.35 MB, free: 5.824 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.001216/0.001216, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.53/2.53, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 62.91 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3291, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00455/0.3337, allocations: 2.75 MB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003647/0.3374, allocations: 2.781 MB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.3377, allocations: 11.94 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.339, allocations: 0.4941 MB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.3395, allocations: 258.1 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.3404, allocations: 395 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.342, allocations: 1.528 MB / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.3422, allocations: 138.3 kB / 1.035 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006095/0.3428, allocations: 478.8 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.3433, allocations: 382.6 kB / 1.036 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.3434, allocations: 48 kB / 1.036 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3435, allocations: 48 kB / 1.036 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.3438, allocations: 275.3 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.3441, allocations: 378.1 kB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.3449, allocations: 0.9074 MB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3449, allocations: 4 kB / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3449, allocations: 3.938 kB / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.369e-05/0.345, allocations: 0 / 1.037 GB, free: 7.195 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001932/0.3469, allocations: 1.14 MB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.347, allocations: 8.031 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3471, allocations: 76 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3482, allocations: 0.6837 MB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3482, allocations: 24.94 kB / 1.039 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.3483, allocations: 40.38 kB / 1.039 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.3488, allocations: 374.9 kB / 1.04 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3488, allocations: 3.938 kB / 1.04 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3489, allocations: 12 kB / 1.04 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3489, allocations: 4 kB / 1.04 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.3493, allocations: 237.5 kB / 1.04 GB, free: 4.492 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.3529, allocations: 2.451 MB / 1.042 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.3539, allocations: 398.5 kB / 1.043 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.3542, allocations: 148.7 kB / 1.043 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3542, allocations: 3.938 kB / 1.043 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3542, allocations: 34.88 kB / 1.043 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/0.3542, allocations: 0 / 1.043 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009581/0.3552, allocations: 0.5336 MB / 1.043 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3552, allocations: 55.41 kB / 1.043 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3563, allocations: 0.9337 MB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.3564, allocations: 33.7 kB / 1.044 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3566, allocations: 300.4 kB / 1.045 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.3567, allocations: 74.92 kB / 1.045 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3568, allocations: 122.2 kB / 1.045 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.357, allocations: 382.7 kB / 1.045 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.3574, allocations: 244.9 kB / 1.045 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.3579, allocations: 0.5014 MB / 1.046 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.3586, allocations: 0.6917 MB / 1.047 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.3586, allocations: 4 kB / 1.047 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001103/0.3597, allocations: 0.8157 MB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3598, allocations: 8 kB / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3598, allocations: 12 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.36, allocations: 53.16 kB / 1.047 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.3605, allocations: 139.8 kB / 1.048 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.3616, allocations: 1.542 MB / 1.049 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.3623, allocations: 127.2 kB / 1.049 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3623, allocations: 28 kB / 1.049 GB, free: 10.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003451/0.3627, allocations: 333.5 kB / 1.049 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.011e-05/0.3628, allocations: 59.19 kB / 1.05 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.3629, allocations: 82 kB / 1.05 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3629, allocations: 0 / 1.05 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3629, allocations: 0 / 1.05 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3629, allocations: 3.984 kB / 1.05 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.3635, allocations: 0.5752 MB / 1.05 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3635, allocations: 7.984 kB / 1.05 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3638, allocations: 43.91 kB / 1.05 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.3639, allocations: 44.81 kB / 1.05 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.3639, allocations: 12 kB / 1.05 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.365, allocations: 1.523 MB / 1.052 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.365, allocations: 0 / 1.052 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.3657, allocations: 0.5791 MB / 1.052 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.366, allocations: 196.3 kB / 1.053 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.3661, allocations: 15.98 kB / 1.053 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.3665, allocations: 47.92 kB / 1.053 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.3665, allocations: 11.98 kB / 1.053 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3665, allocations: 4 kB / 1.053 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008519/0.3674, allocations: 0.659 MB / 1.053 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3674, allocations: 0 / 1.053 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006176/0.368, allocations: 187.8 kB / 1.053 GB, free: 5.598 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001315/0.3682, allocations: 111.2 kB / 1.054 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008673/0.369, allocations: 0.5743 MB / 1.054 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3691, allocations: 0 / 1.054 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.3694, allocations: 250.5 kB / 1.054 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.3701, allocations: 170 kB / 1.055 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.3722, allocations: 1.516 MB / 1.056 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.3728, allocations: 1.003 MB / 1.057 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004179/0.3733, allocations: 180.5 kB / 1.057 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3734, allocations: 39.44 kB / 1.057 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3734, allocations: 0 / 1.057 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of Templates: time 0.01432/0.3877, allocations: 8.438 MB / 1.065 GB, free: 9.363 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches