Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.001283/0.001283, 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.001282/0.001282, 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.588/2.588, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 67.89 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5715, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004121/0.5757, allocations: 2.634 MB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.5778, allocations: 1.317 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.5779, allocations: 7.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.5786, allocations: 175.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.579, allocations: 171.2 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.5794, allocations: 163.5 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.5797, allocations: 267.1 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.58, allocations: 141.4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.5802, allocations: 107.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.5804, allocations: 131.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.5805, allocations: 12 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.5807, allocations: 147.6 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.5808, allocations: 63.81 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5809, allocations: 91.53 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.5812, allocations: 289.4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5813, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5813, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5813, allocations: 4 kB / 1.023 GB, free: 12.79 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007203/0.582, allocations: 0.4989 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5821, allocations: 8.031 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.5821, allocations: 50.73 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/0.5826, allocations: 64.58 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.5829, allocations: 243.8 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.5829, allocations: 8.656 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.5829, allocations: 20.36 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.5834, allocations: 316.4 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5834, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.5835, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.5835, allocations: 28.27 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.584, allocations: 260.5 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.5855, allocations: 1.502 MB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.586, allocations: 253 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.5863, allocations: 133.6 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5863, allocations: 3.938 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.5863, allocations: 42.56 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.5863, allocations: 0 / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0007685/0.5871, allocations: 341.2 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.5872, allocations: 81.11 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.5873, allocations: 170.7 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.5874, allocations: 29.83 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.5874, allocations: 147.9 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.5875, allocations: 43.34 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.5876, allocations: 53.61 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.5877, allocations: 326.8 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.5879, allocations: 108.8 kB / 1.028 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5881, allocations: 165.7 kB / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.5886, allocations: 280.7 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5886, allocations: 0 / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005463/0.5892, allocations: 313.2 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5892, allocations: 4 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5892, allocations: 4 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5892, allocations: 0 / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.5895, allocations: 55.89 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5895, allocations: 4 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.5897, allocations: 35.72 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.5897, allocations: 20.16 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002448/0.59, allocations: 196 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002124/0.5902, allocations: 153.9 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003879/0.5906, allocations: 252.8 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-06/0.5906, allocations: 4 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000487/0.5911, allocations: 270.4 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5911, allocations: 11.94 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.5911, allocations: 4.188 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.5912, allocations: 8 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.5914, allocations: 47.95 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5914, allocations: 7.938 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.5916, allocations: 27.83 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.5916, allocations: 15.98 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.5917, allocations: 188.2 kB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.5918, allocations: 15.81 kB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.5923, allocations: 271.6 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5923, allocations: 11.92 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5923, allocations: 0 / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.5923, allocations: 0 / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.5933, allocations: 0.6848 MB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5934, allocations: 4 kB / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.5936, allocations: 47.95 kB / 1.031 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.5936, allocations: 3.938 kB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.5936, allocations: 4 kB / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.5936, allocations: 7.875 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5936, allocations: 4 kB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.5942, allocations: 447.3 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.5943, allocations: 112.9 kB / 1.031 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.5943, allocations: 15.83 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.5945, allocations: 19.98 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.5946, allocations: 7.984 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.5946, allocations: 8 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.734e-05/0.5947, allocations: 135.2 kB / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5947, allocations: 0 / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004621/0.5952, allocations: 79.84 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007439/0.5959, allocations: 0.9842 MB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006929/0.5966, allocations: 390.6 kB / 1.033 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5967, allocations: 0 / 1.033 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.5969, allocations: 123.8 kB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.5974, allocations: 33.11 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.6001, allocations: 2.435 MB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.6004, allocations: 0.748 MB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.6006, allocations: 77.47 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6007, allocations: 47.42 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.6007, allocations: 0 / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.6198, allocations: 4.145 MB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.846, allocations: 13.75 kB / 1.04 GB, free: 10.54 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_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_Loads_Examples_ParallelResistors.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches