Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001554/0.001554, allocations: 103.5 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.002195/0.002195, allocations: 191.7 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 68.22 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003856/0.3441, allocations: 2.746 MB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003688/0.3478, allocations: 2.777 MB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.348, allocations: 11.94 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.3494, allocations: 498 kB / 1.025 GB, free: 3.801 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.3499, allocations: 254.9 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008547/0.3507, allocations: 408.4 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.3525, allocations: 1.524 MB / 1.027 GB, free: 1.629 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.3527, allocations: 140.1 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.3534, allocations: 482.7 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.354, allocations: 382.6 kB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.987e-05/0.3541, allocations: 44 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3542, allocations: 59.88 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.3545, allocations: 271.3 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004183/0.3549, allocations: 374.2 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008987/0.3558, allocations: 0.9074 MB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.3558, allocations: 4 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3559, allocations: 0 / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3559, allocations: 0 / 1.029 GB, free: 14.99 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.002154/0.358, allocations: 1.148 MB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3581, allocations: 8.031 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.3582, allocations: 80 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3593, allocations: 0.6721 MB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3594, allocations: 28.88 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.3594, allocations: 40.38 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.36, allocations: 374.9 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.36, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.36, allocations: 12 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.36, allocations: 7.938 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.3604, allocations: 237.5 kB / 1.032 GB, free: 12.29 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.003506/0.3639, allocations: 2.451 MB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3649, allocations: 406.4 kB / 1.035 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.3652, allocations: 140.7 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3652, allocations: 0 / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3652, allocations: 38.56 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.3652, allocations: 0 / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009339/0.3662, allocations: 0.5339 MB / 1.035 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.3662, allocations: 63.34 kB / 1.035 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3674, allocations: 0.9298 MB / 1.036 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.3674, allocations: 33.7 kB / 1.036 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.3677, allocations: 304.4 kB / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.3677, allocations: 67.05 kB / 1.037 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.3679, allocations: 126.1 kB / 1.037 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3681, allocations: 382.7 kB / 1.037 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.3684, allocations: 240.9 kB / 1.037 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.3689, allocations: 0.4975 MB / 1.038 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.3697, allocations: 0.7048 MB / 1.039 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.3697, allocations: 4 kB / 1.039 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001153/0.3708, allocations: 0.8136 MB / 1.039 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3709, allocations: 10.66 kB / 1.039 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.3709, allocations: 12 kB / 1.039 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.3711, allocations: 44.83 kB / 1.039 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.3716, allocations: 152 kB / 1.04 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.3728, allocations: 1.543 MB / 1.041 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.3735, allocations: 123.2 kB / 1.041 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.3735, allocations: 28 kB / 1.041 GB, free: 1.996 MB / 0.8106 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.0003549/0.3739, allocations: 338.1 kB / 1.042 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.374, allocations: 67.09 kB / 1.042 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.3741, allocations: 70 kB / 1.042 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3741, allocations: 4.062 kB / 1.042 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3741, allocations: 0 / 1.042 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3741, allocations: 4 kB / 1.042 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.3747, allocations: 0.5791 MB / 1.042 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3747, allocations: 0 / 1.042 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.375, allocations: 51.83 kB / 1.042 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.3751, allocations: 40.83 kB / 1.042 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.3752, allocations: 11.98 kB / 1.042 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3762, allocations: 1.523 MB / 1.044 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3762, allocations: 0 / 1.044 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.3769, allocations: 0.5655 MB / 1.044 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.3772, allocations: 200.4 kB / 1.045 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.3773, allocations: 4.125 kB / 1.045 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.3777, allocations: 55.92 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3778, allocations: 19.81 kB / 1.045 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3778, allocations: 8 kB / 1.045 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007973/0.3786, allocations: 0.6629 MB / 1.045 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3786, allocations: 0 / 1.045 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000598/0.3792, allocations: 183.8 kB / 1.045 GB, free: 13.39 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.0001229/0.3793, allocations: 107.2 kB / 1.046 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008379/0.3802, allocations: 0.5745 MB / 1.046 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3802, allocations: 0 / 1.046 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.3805, allocations: 250.5 kB / 1.046 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.3813, allocations: 175.3 kB / 1.047 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.3834, allocations: 1.518 MB / 1.048 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.384, allocations: 1.01 MB / 1.049 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.3844, allocations: 180.5 kB / 1.049 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3845, allocations: 35.44 kB / 1.049 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3845, allocations: 0 / 1.049 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of Templates: time 0.01507/0.3996, allocations: 8.437 MB / 1.057 GB, free: 1.148 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches