Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_latest_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.004477/0.004477, allocations: 100.8 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.001313/0.001313, allocations: 197.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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.36 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2735, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00405/0.2775, allocations: 2.851 MB / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.2807, allocations: 2.212 MB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.2808, allocations: 15.88 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.282, allocations: 410 kB / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.2825, allocations: 274.7 kB / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.2833, allocations: 347.2 kB / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.2852, allocations: 1.685 MB / 1.249 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.2854, allocations: 154.3 kB / 1.249 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.2861, allocations: 0.5845 MB / 1.25 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/0.2868, allocations: 482.2 kB / 1.25 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.2869, allocations: 64 kB / 1.25 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.2871, allocations: 68 kB / 1.25 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.2876, allocations: 414.9 kB / 1.251 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.2882, allocations: 0.5325 MB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2894, allocations: 1.327 MB / 1.253 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2895, allocations: 0 / 1.253 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.329e-06/0.2895, allocations: 4 kB / 1.253 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2895, allocations: 3.938 kB / 1.253 GB, free: 13.88 MB / 0.9825 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.002682/0.2922, allocations: 1.529 MB / 1.254 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2922, allocations: 8.031 kB / 1.254 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.182e-05/0.2923, allocations: 66.73 kB / 1.254 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.2925, allocations: 116.2 kB / 1.254 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.294, allocations: 1.009 MB / 1.255 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2941, allocations: 29.03 kB / 1.255 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.2942, allocations: 60.08 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008145/0.295, allocations: 0.5432 MB / 1.256 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.295, allocations: 3.938 kB / 1.256 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.2951, allocations: 16 kB / 1.256 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2951, allocations: 8 kB / 1.256 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.2957, allocations: 349.8 kB / 1.256 GB, free: 9.996 MB / 0.9825 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.006016/0.3017, allocations: 3.828 MB / 1.26 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.3035, allocations: 0.6621 MB / 1.261 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.3038, allocations: 205.2 kB / 1.261 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3039, allocations: 3.938 kB / 1.261 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3039, allocations: 42.5 kB / 1.261 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.3039, allocations: 0 / 1.261 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.001337/0.3053, allocations: 0.7638 MB / 1.262 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3053, allocations: 51.41 kB / 1.262 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.3072, allocations: 1.425 MB / 1.263 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.3073, allocations: 37.7 kB / 1.263 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.3077, allocations: 417.2 kB / 1.263 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.3078, allocations: 115.1 kB / 1.264 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.308, allocations: 150.3 kB / 1.264 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3082, allocations: 341.9 kB / 1.264 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.3087, allocations: 285.1 kB / 1.264 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.3093, allocations: 0.5863 MB / 1.265 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.3105, allocations: 0.8842 MB / 1.266 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.3105, allocations: 4 kB / 1.266 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002116/0.3126, allocations: 1.255 MB / 1.267 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3126, allocations: 8 kB / 1.267 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3126, allocations: 12 kB / 1.267 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.3139, allocations: 448.5 kB / 1.267 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.3143, allocations: 111.8 kB / 1.267 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/0.3205, allocations: 4.687 MB / 1.272 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3217, allocations: 227.2 kB / 1.272 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.3217, allocations: 35.94 kB / 1.272 GB, free: 8.664 MB / 0.9981 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.0004732/0.3222, allocations: 433.7 kB / 1.273 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3224, allocations: 99.34 kB / 1.273 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.3225, allocations: 104.8 kB / 1.273 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3226, allocations: 0 / 1.273 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3226, allocations: 0 / 1.273 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3226, allocations: 4 kB / 1.273 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3236, allocations: 0.9317 MB / 1.274 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3237, allocations: 3.984 kB / 1.274 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.3241, allocations: 91.84 kB / 1.274 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.3243, allocations: 44.81 kB / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.3243, allocations: 19.98 kB / 1.274 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.3256, allocations: 1.523 MB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3256, allocations: 4.062 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.3267, allocations: 0.8278 MB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.3272, allocations: 300.3 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3273, allocations: 15.98 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/0.3281, allocations: 99.81 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.3281, allocations: 19.98 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3281, allocations: 4 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001386/0.3295, allocations: 0.9939 MB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3295, allocations: 0 / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001056/0.3306, allocations: 455.9 kB / 1.278 GB, free: 2.469 MB / 0.9981 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.00149/0.3321, allocations: 1.389 MB / 1.279 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.3339, allocations: 0.9446 MB / 1.28 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3339, allocations: 0 / 1.28 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.3344, allocations: 322.8 kB / 1.281 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.3356, allocations: 283.8 kB / 1.281 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.3499, allocations: 10.37 MB / 1.291 GB, free: 4.703 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.3508, allocations: 1.156 MB / 1.292 GB, free: 3.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005783/0.3514, allocations: 266.5 kB / 1.292 GB, free: 3.254 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.3519, allocations: 311.3 kB / 1.293 GB, free: 2.949 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.3519, allocations: 0 / 1.293 GB, free: 2.949 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/0.4075, allocations: 24.17 MB / 1.316 GB, free: 11.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.36, allocations: 19.88 kB / 1.316 GB, free: 11.1 MB / 1.045 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorInitialization.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches