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.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.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.007736/0.007736, allocations: 99.44 kB / 15.73 MB, free: 6.062 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.001971/0.001971, allocations: 196.2 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.568/2.568, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2506, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003776/0.2544, allocations: 2.746 MB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003716/0.2581, allocations: 2.781 MB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.2583, allocations: 11.94 kB / 1.172 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.2596, allocations: 498 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.2601, allocations: 259.9 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.2609, allocations: 394.4 kB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.2624, allocations: 1.532 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2627, allocations: 135.5 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.2632, allocations: 482.8 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.2637, allocations: 386.6 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.775e-05/0.2638, allocations: 48 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2639, allocations: 52 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.2642, allocations: 283.2 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.2646, allocations: 370.2 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007572/0.2653, allocations: 0.9108 MB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2653, allocations: 0 / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2653, allocations: 0 / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.2654, allocations: 0 / 1.177 GB, free: 12.43 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.001962/0.2673, allocations: 1.179 MB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2674, allocations: 8.031 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.2674, allocations: 62.72 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2676, allocations: 84.42 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.2686, allocations: 0.6765 MB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2686, allocations: 28.94 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.2687, allocations: 36.38 kB / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.2692, allocations: 378.6 kB / 1.179 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2692, allocations: 0 / 1.179 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.2693, allocations: 12 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2693, allocations: 8 kB / 1.179 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.2697, allocations: 237.4 kB / 1.179 GB, free: 9.613 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.003326/0.273, allocations: 2.455 MB / 1.182 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/0.274, allocations: 410.3 kB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.2742, allocations: 136.8 kB / 1.182 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2742, allocations: 4 kB / 1.182 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.2743, allocations: 42.5 kB / 1.182 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.2743, allocations: 0 / 1.182 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.000898/0.2752, allocations: 0.5304 MB / 1.183 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2752, allocations: 55.41 kB / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2763, allocations: 0.9376 MB / 1.184 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.2763, allocations: 37.7 kB / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.2766, allocations: 300.8 kB / 1.184 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.2766, allocations: 71.42 kB / 1.184 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2768, allocations: 126.2 kB / 1.184 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.277, allocations: 382.7 kB / 1.185 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.2773, allocations: 240.9 kB / 1.185 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.2778, allocations: 0.5012 MB / 1.185 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.2786, allocations: 0.7085 MB / 1.186 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.2786, allocations: 4 kB / 1.186 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001147/0.2797, allocations: 0.8142 MB / 1.187 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2798, allocations: 17.81 kB / 1.187 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.2798, allocations: 8 kB / 1.187 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.28, allocations: 48.83 kB / 1.187 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.2804, allocations: 143.7 kB / 1.187 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.2816, allocations: 1.539 MB / 1.189 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.2823, allocations: 127.4 kB / 1.189 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.2823, allocations: 28 kB / 1.189 GB, free: 15.3 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.0003247/0.2827, allocations: 345.3 kB / 1.189 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/0.2828, allocations: 71.47 kB / 1.189 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2829, allocations: 70 kB / 1.189 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.2829, allocations: 4 kB / 1.189 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.2829, allocations: 0 / 1.189 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2829, allocations: 4.062 kB / 1.189 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.2835, allocations: 0.5714 MB / 1.19 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2835, allocations: 3.938 kB / 1.19 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.2838, allocations: 51.89 kB / 1.19 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.2839, allocations: 40.83 kB / 1.19 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.2839, allocations: 15.98 kB / 1.19 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.285, allocations: 1.523 MB / 1.191 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.285, allocations: 4.156 kB / 1.191 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.2857, allocations: 0.5689 MB / 1.192 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.286, allocations: 204.7 kB / 1.192 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.2861, allocations: 4 kB / 1.192 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.2865, allocations: 47.86 kB / 1.192 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.2866, allocations: 19.92 kB / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2866, allocations: 8 kB / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008116/0.2874, allocations: 0.659 MB / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2874, allocations: 0 / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005908/0.288, allocations: 183.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.001/0.289, allocations: 1.123 MB / 1.194 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008489/0.2899, allocations: 0.5693 MB / 1.195 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2899, allocations: 0 / 1.195 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.2902, allocations: 244.2 kB / 1.195 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.291, allocations: 181 kB / 1.195 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/0.299, allocations: 6.932 MB / 1.202 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.2996, allocations: 1.003 MB / 1.203 GB, free: 224 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003834/0.3, allocations: 188.5 kB / 1.203 GB, free: 36 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.3003, allocations: 203.4 kB / 1.203 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.3003, allocations: 0 / 1.203 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.3352, allocations: 14.2 MB / 1.217 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.96/10.3, allocations: 7.203 kB / 1.217 GB, free: 1.867 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_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_ConductorMultiLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/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