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.006702/0.006702, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001671/0.001671, allocations: 190.6 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.291/2.291, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.91 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2294, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003811/0.2332, allocations: 2.85 MB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.2363, allocations: 2.2 MB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.2366, allocations: 11.94 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2377, allocations: 418.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.2383, allocations: 274.7 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.2391, allocations: 339.2 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.2408, allocations: 1.689 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.2411, allocations: 154.3 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.2419, allocations: 0.5922 MB / 1.096 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006979/0.2426, allocations: 482.2 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.2427, allocations: 68 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2429, allocations: 64 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.2433, allocations: 414.9 kB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005632/0.2439, allocations: 0.5364 MB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.2449, allocations: 1.328 MB / 1.099 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.245, allocations: 0 / 1.099 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.245, allocations: 0 / 1.099 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.245, allocations: 0 / 1.099 GB, free: 6.605 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.002778/0.2478, allocations: 1.494 MB / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2478, allocations: 12.02 kB / 1.1 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.45e-05/0.2479, allocations: 70.72 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2481, allocations: 111.6 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.2498, allocations: 0.9962 MB / 1.101 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.2498, allocations: 37.03 kB / 1.101 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/0.2499, allocations: 56.03 kB / 1.101 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.2506, allocations: 0.5433 MB / 1.102 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2507, allocations: 3.938 kB / 1.102 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.2507, allocations: 12 kB / 1.102 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2507, allocations: 8 kB / 1.102 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.2512, allocations: 349.8 kB / 1.102 GB, free: 2.762 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.006116/0.2574, allocations: 3.827 MB / 1.106 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.2591, allocations: 0.6621 MB / 1.107 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.2594, allocations: 197.2 kB / 1.107 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2594, allocations: 7.938 kB / 1.107 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.2595, allocations: 34.56 kB / 1.107 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.2595, allocations: 4 kB / 1.107 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001273/0.2608, allocations: 0.7652 MB / 1.107 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2608, allocations: 55.34 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.2627, allocations: 1.417 MB / 1.109 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.2628, allocations: 41.7 kB / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.2632, allocations: 408.8 kB / 1.109 GB, free: 11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.2633, allocations: 110.5 kB / 1.109 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.2635, allocations: 150.2 kB / 1.11 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2636, allocations: 334 kB / 1.11 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.2641, allocations: 293.1 kB / 1.11 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.2647, allocations: 0.5862 MB / 1.111 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2657, allocations: 0.875 MB / 1.112 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2657, allocations: 4 kB / 1.112 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001947/0.2676, allocations: 1.254 MB / 1.113 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2677, allocations: 12 kB / 1.113 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2677, allocations: 8 kB / 1.113 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.2689, allocations: 448.7 kB / 1.113 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.2692, allocations: 115.8 kB / 1.113 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.2749, allocations: 4.691 MB / 1.118 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.2761, allocations: 215 kB / 1.118 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.2761, allocations: 35.94 kB / 1.118 GB, free: 1.461 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.0004358/0.2766, allocations: 437.2 kB / 1.119 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.2767, allocations: 90.78 kB / 1.119 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.2769, allocations: 104.8 kB / 1.119 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2769, allocations: 4 kB / 1.119 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2769, allocations: 4.062 kB / 1.119 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2769, allocations: 0 / 1.119 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.2779, allocations: 0.9277 MB / 1.12 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2779, allocations: 0 / 1.12 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.2784, allocations: 91.84 kB / 1.12 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.2785, allocations: 44.81 kB / 1.12 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.2785, allocations: 15.98 kB / 1.12 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.2796, allocations: 1.527 MB / 1.121 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2796, allocations: 0 / 1.121 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.2807, allocations: 0.8264 MB / 1.122 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.2812, allocations: 295.8 kB / 1.122 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.2813, allocations: 11.98 kB / 1.122 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.2821, allocations: 103.9 kB / 1.123 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.2821, allocations: 27.91 kB / 1.123 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2822, allocations: 4 kB / 1.123 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001286/0.2835, allocations: 0.9939 MB / 1.124 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2835, allocations: 0 / 1.124 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001053/0.2845, allocations: 459.8 kB / 1.124 GB, free: 11.27 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.00133/0.2859, allocations: 1.377 MB / 1.125 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.2875, allocations: 0.9278 MB / 1.126 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2875, allocations: 0.6875 kB / 1.126 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.2879, allocations: 330.4 kB / 1.127 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.2891, allocations: 274 kB / 1.127 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.3023, allocations: 10.34 MB / 1.137 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.3031, allocations: 1.16 MB / 1.138 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005357/0.3036, allocations: 258.5 kB / 1.138 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.3041, allocations: 311.3 kB / 1.139 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.3041, allocations: 4 kB / 1.139 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/0.3514, allocations: 24.16 MB / 1.162 GB, free: 3.969 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.11, allocations: 15.83 kB / 1.162 GB, free: 3.953 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