Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.637/2.637, allocations: 437.1 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 63.89 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7333, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005454/0.7388, allocations: 3.071 MB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003262/0.7421, allocations: 1.909 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.7423, allocations: 8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009612/0.7433, allocations: 280.6 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006177/0.744, allocations: 191.1 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.7447, allocations: 251.2 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000429/0.7451, allocations: 319 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.7455, allocations: 195.1 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.7458, allocations: 135.5 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.7461, allocations: 143.4 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.7462, allocations: 20 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007156/0.7469, allocations: 411.2 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.747, allocations: 83.78 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.7472, allocations: 123.3 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.748, allocations: 482.7 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.748, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.748, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.7481, allocations: 4 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001019/0.7491, allocations: 0.5536 MB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.7491, allocations: 16.03 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.327e-05/0.7492, allocations: 62.66 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/0.7502, allocations: 108.5 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.7506, allocations: 261.6 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.7506, allocations: 12.81 kB / 1.026 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.7507, allocations: 16.38 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.7513, allocations: 361.2 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.7513, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.7513, allocations: 15.98 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.7514, allocations: 24.41 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.7519, allocations: 293.5 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.7544, allocations: 1.737 MB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.7549, allocations: 318.1 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.7551, allocations: 113.5 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.7552, allocations: 89.11 kB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.7552, allocations: 34.55 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.7552, allocations: 0 / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002469/0.7577, allocations: 0.9694 MB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.7578, allocations: 85.05 kB / 1.03 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.758, allocations: 212.7 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.7581, allocations: 33.73 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.7582, allocations: 168.2 kB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.7583, allocations: 78.84 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.7584, allocations: 61.61 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7586, allocations: 330.8 kB / 1.031 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.7588, allocations: 127.9 kB / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.759, allocations: 218.4 kB / 1.031 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.7595, allocations: 359.5 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7595, allocations: 7.938 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008104/0.7603, allocations: 0.5003 MB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7604, allocations: 4 kB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7604, allocations: 7.938 kB / 1.032 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.7609, allocations: 155.6 kB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.7612, allocations: 63.89 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.7641, allocations: 4.194 MB / 1.036 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.7644, allocations: 24.12 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.7644, allocations: 12 kB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.7646, allocations: 162.4 kB / 1.036 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.7647, allocations: 27.7 kB / 1.036 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.7655, allocations: 479.6 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.7655, allocations: 4 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.7655, allocations: 0 / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7655, allocations: 0 / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.767, allocations: 1.017 MB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.767, allocations: 3.938 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.7671, allocations: 35.98 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/0.7675, allocations: 143.4 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.7676, allocations: 8 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/0.7703, allocations: 4.171 MB / 1.042 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.7703, allocations: 3.938 kB / 1.042 GB, free: 7.934 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.7711, allocations: 0.6321 MB / 1.043 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.7713, allocations: 124.8 kB / 1.043 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.7713, allocations: 12 kB / 1.043 GB, free: 7.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.7716, allocations: 15.98 kB / 1.043 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.7716, allocations: 27.91 kB / 1.043 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.7716, allocations: 12 kB / 1.043 GB, free: 7.043 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001446/0.7718, allocations: 160.5 kB / 1.043 GB, free: 6.887 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7718, allocations: 0 / 1.043 GB, free: 6.887 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005469/0.7723, allocations: 84 kB / 1.043 GB, free: 6.805 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.7736, allocations: 1.202 MB / 1.044 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009759/0.7746, allocations: 0.5961 MB / 1.045 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7746, allocations: 0.625 kB / 1.045 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.7751, allocations: 398.5 kB / 1.045 GB, free: 4.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.7756, allocations: 52.27 kB / 1.045 GB, free: 4.457 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.7797, allocations: 3.317 MB / 1.048 GB, free: 0.918 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.7801, allocations: 0.7831 MB / 1.049 GB, free: 112 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001997/0.7803, allocations: 58.25 kB / 1.049 GB, free: 52 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.7805, allocations: 79.42 kB / 1.049 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/0.7805, allocations: 4 kB / 1.049 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.8118, allocations: 6.613 MB / 1.056 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.28, allocations: 13.66 kB / 1.056 GB, free: 9.488 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches