Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007536/0.007536, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001794/0.001795, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2526, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003892/0.2565, allocations: 2.747 MB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.2605, allocations: 2.775 MB / 1.172 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.2608, allocations: 7.938 kB / 1.172 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.2623, allocations: 498 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005792/0.2629, allocations: 262.8 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009727/0.2638, allocations: 398.5 kB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.2656, allocations: 1.528 MB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.2658, allocations: 142.3 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.2666, allocations: 474.8 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.2672, allocations: 386.6 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2674, allocations: 48 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.2676, allocations: 52 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.2679, allocations: 279.2 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.2683, allocations: 374.2 kB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008667/0.2692, allocations: 0.9107 MB / 1.177 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2692, allocations: 0 / 1.177 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2692, allocations: 8 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.2692, allocations: 0 / 1.177 GB, free: 12.41 MB / 0.9356 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.002025/0.2712, allocations: 1.171 MB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2713, allocations: 12.03 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.2713, allocations: 58.67 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.2715, allocations: 84.42 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.2725, allocations: 0.6804 MB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2725, allocations: 24.94 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.2726, allocations: 40.38 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.2731, allocations: 378.6 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2731, allocations: 0 / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.2732, allocations: 12 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2732, allocations: 7.984 kB / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.2736, allocations: 237.5 kB / 1.179 GB, free: 9.602 MB / 0.9356 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.003433/0.277, allocations: 2.447 MB / 1.182 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.278, allocations: 410.2 kB / 1.182 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.2782, allocations: 144.8 kB / 1.182 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2782, allocations: 0 / 1.182 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2783, allocations: 38.56 kB / 1.182 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.2783, allocations: 0 / 1.182 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009093/0.2792, allocations: 0.5321 MB / 1.183 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2792, allocations: 59.41 kB / 1.183 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2803, allocations: 0.9337 MB / 1.184 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.2804, allocations: 33.7 kB / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.2806, allocations: 300.8 kB / 1.184 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.2807, allocations: 75.41 kB / 1.184 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.2809, allocations: 122.2 kB / 1.184 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.281, allocations: 382.7 kB / 1.185 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.2814, allocations: 244.9 kB / 1.185 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.2819, allocations: 0.5089 MB / 1.185 GB, free: 3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.2827, allocations: 0.6962 MB / 1.186 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.2827, allocations: 4 kB / 1.186 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001184/0.2839, allocations: 0.8158 MB / 1.187 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.284, allocations: 8 kB / 1.187 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.284, allocations: 15.94 kB / 1.187 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.2842, allocations: 53.19 kB / 1.187 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.2846, allocations: 143.8 kB / 1.187 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.2859, allocations: 1.546 MB / 1.189 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.2865, allocations: 131.4 kB / 1.189 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.2866, allocations: 28 kB / 1.189 GB, free: 15.29 MB / 0.9512 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.0003388/0.2869, allocations: 341.4 kB / 1.189 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.287, allocations: 75.45 kB / 1.189 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.2871, allocations: 66 kB / 1.189 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2871, allocations: 4.062 kB / 1.189 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2872, allocations: 0 / 1.189 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2872, allocations: 4 kB / 1.189 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.2878, allocations: 0.5714 MB / 1.19 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2878, allocations: 3.938 kB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.2881, allocations: 43.97 kB / 1.19 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.2882, allocations: 44.75 kB / 1.19 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.2882, allocations: 12 kB / 1.19 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.2893, allocations: 1.527 MB / 1.191 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2893, allocations: 3.938 kB / 1.191 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007102/0.29, allocations: 0.566 MB / 1.192 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.2904, allocations: 196.7 kB / 1.192 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.2904, allocations: 11.98 kB / 1.192 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.2908, allocations: 47.92 kB / 1.192 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.2909, allocations: 11.98 kB / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2909, allocations: 4 kB / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008188/0.2917, allocations: 0.6629 MB / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2917, allocations: 0 / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006028/0.2924, allocations: 179.9 kB / 1.193 GB, free: 10.68 MB / 0.9512 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.0009981/0.2934, allocations: 1.128 MB / 1.194 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.2942, allocations: 0.5694 MB / 1.195 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2942, allocations: 4 kB / 1.195 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.2946, allocations: 244.9 kB / 1.195 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007811/0.2954, allocations: 180.4 kB / 1.195 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008392/0.3038, allocations: 6.936 MB / 1.202 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.3044, allocations: 1.01 MB / 1.203 GB, free: 208 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003828/0.3048, allocations: 180.5 kB / 1.203 GB, free: 28 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.3051, allocations: 211.4 kB / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3051, allocations: 0 / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.3426, allocations: 14.2 MB / 1.217 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.819/10.16, allocations: 5.25 kB / 1.217 GB, free: 1.852 MB / 0.9669 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches