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.00799/0.00799, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001908/0.001908, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.426/2.426, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 60.12 kB / 1.018 GB, free: 9.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.686, allocations: 151.6 MB / 1.166 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003844/0.6898, allocations: 2.841 MB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.693, allocations: 2.212 MB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.6933, allocations: 15.88 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.6945, allocations: 413.9 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005767/0.6951, allocations: 278.7 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.696, allocations: 352.3 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.6978, allocations: 1.683 MB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.698, allocations: 150.3 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007189/0.6988, allocations: 0.6 MB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.6993, allocations: 482.2 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.6994, allocations: 64 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.6996, allocations: 71.94 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.7, allocations: 410.9 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.7005, allocations: 0.5248 MB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.7015, allocations: 1.339 MB / 1.177 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7016, allocations: 4 kB / 1.177 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7016, allocations: 4 kB / 1.177 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.7016, allocations: 0 / 1.177 GB, free: 8.406 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.002519/0.7041, allocations: 1.525 MB / 1.179 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7041, allocations: 12.92 kB / 1.179 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.7042, allocations: 70.72 kB / 1.179 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.7044, allocations: 112.2 kB / 1.179 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.706, allocations: 1.001 MB / 1.18 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.7061, allocations: 33.03 kB / 1.18 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/0.7062, allocations: 60.08 kB / 1.18 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.7069, allocations: 0.5394 MB / 1.181 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.7069, allocations: 4 kB / 1.181 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.707, allocations: 8 kB / 1.181 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.707, allocations: 11.94 kB / 1.181 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.7075, allocations: 345.9 kB / 1.181 GB, free: 4.535 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.005574/0.7131, allocations: 3.855 MB / 1.185 GB, free: 428 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.7148, allocations: 0.6505 MB / 1.185 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.715, allocations: 196.7 kB / 1.185 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.7151, allocations: 4 kB / 1.185 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.7151, allocations: 34.56 kB / 1.185 GB, free: 15.51 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.7151, allocations: 4 kB / 1.185 GB, free: 15.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001216/0.7163, allocations: 0.7651 MB / 1.186 GB, free: 14.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.7164, allocations: 55.41 kB / 1.186 GB, free: 14.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.718, allocations: 1.421 MB / 1.188 GB, free: 13.21 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.7181, allocations: 37.7 kB / 1.188 GB, free: 13.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.7184, allocations: 425.1 kB / 1.188 GB, free: 12.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.7186, allocations: 103.1 kB / 1.188 GB, free: 12.65 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.7188, allocations: 150.3 kB / 1.188 GB, free: 12.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7189, allocations: 334 kB / 1.189 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.7193, allocations: 289.1 kB / 1.189 GB, free: 11.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.7198, allocations: 0.5862 MB / 1.19 GB, free: 11.15 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.7208, allocations: 0.8875 MB / 1.19 GB, free: 10.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7208, allocations: 4 kB / 1.19 GB, free: 10.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001829/0.7226, allocations: 1.258 MB / 1.192 GB, free: 8.848 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7226, allocations: 8 kB / 1.192 GB, free: 8.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.7227, allocations: 12 kB / 1.192 GB, free: 8.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.7238, allocations: 458 kB / 1.192 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.7241, allocations: 107.8 kB / 1.192 GB, free: 8.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/0.7296, allocations: 4.712 MB / 1.197 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7308, allocations: 219.2 kB / 1.197 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.7309, allocations: 36 kB / 1.197 GB, free: 3.172 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.0004732/0.7314, allocations: 440 kB / 1.197 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.7315, allocations: 95.34 kB / 1.198 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.7317, allocations: 104.8 kB / 1.198 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7317, allocations: 4 kB / 1.198 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7317, allocations: 0 / 1.198 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7317, allocations: 3.984 kB / 1.198 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.7328, allocations: 0.92 MB / 1.199 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7328, allocations: 0 / 1.199 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.7332, allocations: 99.84 kB / 1.199 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.7333, allocations: 36.83 kB / 1.199 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.7334, allocations: 19.98 kB / 1.199 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.7344, allocations: 1.531 MB / 1.2 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7345, allocations: 0 / 1.2 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.7355, allocations: 0.8241 MB / 1.201 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.7361, allocations: 296.3 kB / 1.201 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.7362, allocations: 15.98 kB / 1.201 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.7369, allocations: 99.81 kB / 1.201 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.737, allocations: 20.02 kB / 1.201 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.737, allocations: 7.984 kB / 1.201 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001302/0.7383, allocations: 0.9978 MB / 1.202 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7383, allocations: 0 / 1.202 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001077/0.7394, allocations: 455.9 kB / 1.203 GB, free: 12.98 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.001294/0.7407, allocations: 1.398 MB / 1.204 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.7424, allocations: 0.9279 MB / 1.205 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7424, allocations: 0 / 1.205 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.7428, allocations: 326.4 kB / 1.205 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.744, allocations: 277.4 kB / 1.206 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.7569, allocations: 10.37 MB / 1.216 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.7576, allocations: 1.16 MB / 1.217 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005392/0.7582, allocations: 258.6 kB / 1.217 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.7586, allocations: 315.3 kB / 1.217 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.7586, allocations: 0 / 1.217 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.806, allocations: 24.17 MB / 1.241 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.36, allocations: 4 kB / 1.241 GB, free: 5.629 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