Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",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.006854/0.006854, allocations: 99.58 kB / 15.73 MB, free: 6.059 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.001162/0.001162, allocations: 192.8 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 61.86 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2375, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004014/0.2415, allocations: 2.83 MB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.2447, allocations: 2.209 MB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.2451, allocations: 19.88 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.2462, allocations: 406 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00061/0.2469, allocations: 282.7 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.2478, allocations: 338.1 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.2496, allocations: 1.689 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.2499, allocations: 158.3 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008456/0.2508, allocations: 0.5962 MB / 1.096 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008162/0.2516, allocations: 486.2 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.2518, allocations: 64 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.2521, allocations: 72 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.2526, allocations: 406.9 kB / 1.097 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008601/0.2534, allocations: 0.5365 MB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.2548, allocations: 1.335 MB / 1.099 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2548, allocations: 0 / 1.099 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2548, allocations: 0 / 1.099 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.361e-05/0.2549, allocations: 4 kB / 1.099 GB, free: 6.59 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003131/0.258, allocations: 1.525 MB / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.258, allocations: 8.031 kB / 1.1 GB, free: 5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.2582, allocations: 74.72 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.2584, allocations: 116.2 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.2602, allocations: 1.005 MB / 1.101 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.2603, allocations: 37.02 kB / 1.101 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.2604, allocations: 52.12 kB / 1.101 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.2612, allocations: 0.5509 MB / 1.102 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2612, allocations: 0 / 1.102 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.2612, allocations: 16 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2612, allocations: 8 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.2618, allocations: 349.8 kB / 1.102 GB, free: 2.699 MB / 0.8575 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.006021/0.2678, allocations: 3.835 MB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.2695, allocations: 0.6622 MB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.2698, allocations: 193.2 kB / 1.107 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.2698, allocations: 11.88 kB / 1.107 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2699, allocations: 42.55 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.715e-06/0.2699, allocations: 3.938 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001255/0.2711, allocations: 0.758 MB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2712, allocations: 51.41 kB / 1.108 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.273, allocations: 1.425 MB / 1.109 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.273, allocations: 41.64 kB / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.2734, allocations: 421.2 kB / 1.109 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.2735, allocations: 103.1 kB / 1.11 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2737, allocations: 162.2 kB / 1.11 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2739, allocations: 334 kB / 1.11 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.2743, allocations: 285.1 kB / 1.11 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.2749, allocations: 0.5863 MB / 1.111 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2759, allocations: 0.875 MB / 1.112 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.2759, allocations: 4 kB / 1.112 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001977/0.2779, allocations: 1.255 MB / 1.113 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2779, allocations: 8.312 kB / 1.113 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.278, allocations: 19.98 kB / 1.113 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.2792, allocations: 453.5 kB / 1.113 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.2795, allocations: 111.8 kB / 1.114 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.2852, allocations: 4.687 MB / 1.118 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2864, allocations: 227.1 kB / 1.118 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.2865, allocations: 35.94 kB / 1.118 GB, free: 1.363 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004764/0.287, allocations: 433.3 kB / 1.119 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.2871, allocations: 99.39 kB / 1.119 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.2873, allocations: 104.8 kB / 1.119 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2873, allocations: 0 / 1.119 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2873, allocations: 0 / 1.119 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2873, allocations: 3.984 kB / 1.119 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009981/0.2884, allocations: 0.9239 MB / 1.12 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2884, allocations: 0 / 1.12 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.2888, allocations: 99.84 kB / 1.12 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.289, allocations: 36.83 kB / 1.12 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.289, allocations: 19.98 kB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.2902, allocations: 1.523 MB / 1.121 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2902, allocations: 0 / 1.121 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2913, allocations: 0.8389 MB / 1.122 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.2919, allocations: 296.3 kB / 1.123 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.292, allocations: 19.98 kB / 1.123 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/0.2928, allocations: 99.75 kB / 1.123 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.2928, allocations: 19.97 kB / 1.123 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.2929, allocations: 8 kB / 1.123 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001352/0.2942, allocations: 0.998 MB / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2942, allocations: 0 / 1.124 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00112/0.2954, allocations: 463.8 kB / 1.124 GB, free: 11.16 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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.001368/0.2967, allocations: 1.374 MB / 1.125 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.2984, allocations: 0.9384 MB / 1.126 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2985, allocations: 0 / 1.126 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.2989, allocations: 320 kB / 1.127 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.3001, allocations: 281.5 kB / 1.127 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.3139, allocations: 10.39 MB / 1.137 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.3147, allocations: 1.16 MB / 1.138 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006514/0.3154, allocations: 254.6 kB / 1.139 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.3159, allocations: 311.3 kB / 1.139 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/0.3159, allocations: 0 / 1.139 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.3649, allocations: 24.16 MB / 1.162 GB, free: 3.816 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.02, allocations: 18.12 kB / 1.162 GB, free: 3.801 MB / 0.92 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches