Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ConductorInitialization,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_10_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.004893/0.004893, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001892/0.001892, allocations: 188.5 kB / 16.67 MB, free: 5.926 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.423/2.423, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.12 kB / 1.018 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.673, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00355/0.6766, allocations: 2.839 MB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.6794, allocations: 2.219 MB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.6796, allocations: 11.94 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.6806, allocations: 410.9 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.6811, allocations: 274.7 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.6818, allocations: 352.3 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.6834, allocations: 1.689 MB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.6836, allocations: 142.3 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.6843, allocations: 0.6039 MB / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.6849, allocations: 478.3 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.685, allocations: 64 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.6851, allocations: 64 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.6855, allocations: 418.8 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.686, allocations: 0.5287 MB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.687, allocations: 1.335 MB / 1.177 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6871, allocations: 4 kB / 1.177 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6871, allocations: 0 / 1.177 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.6871, allocations: 4 kB / 1.177 GB, free: 8.355 MB / 0.9044 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.002356/0.6894, allocations: 1.529 MB / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6895, allocations: 8.922 kB / 1.179 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.159e-05/0.6896, allocations: 66.72 kB / 1.179 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.6897, allocations: 116.2 kB / 1.179 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.6911, allocations: 1.005 MB / 1.18 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.6911, allocations: 33.03 kB / 1.18 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.6912, allocations: 56.08 kB / 1.18 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.6919, allocations: 0.5394 MB / 1.181 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.692, allocations: 3.938 kB / 1.181 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.692, allocations: 19.98 kB / 1.181 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.692, allocations: 8 kB / 1.181 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.6925, allocations: 353.8 kB / 1.181 GB, free: 4.469 MB / 0.9044 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.005342/0.6979, allocations: 3.839 MB / 1.185 GB, free: 376 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.6996, allocations: 0.6551 MB / 1.185 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.6998, allocations: 200.7 kB / 1.185 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.6999, allocations: 4 kB / 1.185 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.6999, allocations: 38.56 kB / 1.185 GB, free: 15.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.6999, allocations: 0 / 1.185 GB, free: 15.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001214/0.7011, allocations: 0.769 MB / 1.186 GB, free: 14.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.7012, allocations: 51.41 kB / 1.186 GB, free: 14.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.7029, allocations: 1.417 MB / 1.188 GB, free: 13.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.7029, allocations: 37.7 kB / 1.188 GB, free: 13.11 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.7033, allocations: 425.2 kB / 1.188 GB, free: 12.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.7034, allocations: 111.1 kB / 1.188 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.7036, allocations: 150.3 kB / 1.188 GB, free: 12.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7037, allocations: 338 kB / 1.189 GB, free: 12.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.7041, allocations: 285.1 kB / 1.189 GB, free: 11.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.7047, allocations: 0.5824 MB / 1.19 GB, free: 11.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.7057, allocations: 0.8952 MB / 1.19 GB, free: 10.05 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.7057, allocations: 8 kB / 1.19 GB, free: 10.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001884/0.7076, allocations: 1.247 MB / 1.192 GB, free: 8.789 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.7076, allocations: 8 kB / 1.192 GB, free: 8.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7076, allocations: 12.31 kB / 1.192 GB, free: 8.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.7089, allocations: 457.3 kB / 1.192 GB, free: 8.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.7092, allocations: 115.8 kB / 1.192 GB, free: 8.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/0.7147, allocations: 4.694 MB / 1.197 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.7159, allocations: 223.2 kB / 1.197 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.7159, allocations: 32 kB / 1.197 GB, free: 3.121 MB / 0.92 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.0004368/0.7164, allocations: 440.1 kB / 1.197 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.7165, allocations: 99.34 kB / 1.198 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.7167, allocations: 100.8 kB / 1.198 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7167, allocations: 4 kB / 1.198 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7167, allocations: 0 / 1.198 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.7167, allocations: 0 / 1.198 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.7176, allocations: 0.9278 MB / 1.199 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7176, allocations: 0 / 1.199 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.7181, allocations: 91.92 kB / 1.199 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.7182, allocations: 48.75 kB / 1.199 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.7183, allocations: 15.98 kB / 1.199 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.7193, allocations: 1.527 MB / 1.2 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7193, allocations: 7.875 kB / 1.2 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7203, allocations: 0.8241 MB / 1.201 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.7207, allocations: 300.3 kB / 1.201 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.7209, allocations: 19.98 kB / 1.201 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.7215, allocations: 99.81 kB / 1.201 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.7216, allocations: 16.02 kB / 1.201 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.7216, allocations: 8 kB / 1.201 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001233/0.7229, allocations: 0.9978 MB / 1.202 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7229, allocations: 0 / 1.202 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009992/0.7239, allocations: 455.9 kB / 1.203 GB, free: 12.92 MB / 0.9356 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.001284/0.7252, allocations: 1.397 MB / 1.204 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.7268, allocations: 0.9237 MB / 1.205 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7268, allocations: 0 / 1.205 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.7272, allocations: 326.4 kB / 1.205 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.7284, allocations: 285.5 kB / 1.206 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.7408, allocations: 10.37 MB / 1.216 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.7415, allocations: 1.156 MB / 1.217 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005257/0.7421, allocations: 254.6 kB / 1.217 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.7425, allocations: 307.3 kB / 1.217 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of SimCode: time 8.01e-07/0.7425, allocations: 0 / 1.217 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.7871, allocations: 24.18 MB / 1.241 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.22, allocations: 8.062 kB / 1.241 GB, free: 5.574 MB / 0.9669 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Examples_ConductorInitialization.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches