Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.000916, allocations: 98.88 kB / 16.02 MB, free: 76 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.001369/0.001369, allocations: 185.6 kB / 16.92 MB, free: 6.684 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.555/1.555, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003782, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7817, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002648/0.7844, allocations: 2.342 MB / 0.958 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.7862, allocations: 1.297 MB / 0.9593 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.7863, allocations: 6.656 kB / 0.9593 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.7865, allocations: 30.69 kB / 0.9593 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.7868, allocations: 147.3 kB / 0.9594 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.7872, allocations: 154.8 kB / 0.9596 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.7875, allocations: 378.1 kB / 0.9599 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.788, allocations: 309.3 kB / 0.9602 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.7882, allocations: 84.88 kB / 0.9603 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.7884, allocations: 120.8 kB / 0.9604 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.7884, allocations: 7.625 kB / 0.9604 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.7887, allocations: 181.9 kB / 0.9606 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.077e-05/0.7888, allocations: 65.67 kB / 0.9607 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.7889, allocations: 105.4 kB / 0.9608 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.7891, allocations: 218.4 kB / 0.961 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7891, allocations: 0.75 kB / 0.961 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.562e-06/0.7891, allocations: 0 / 0.961 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.7892, allocations: 0.75 kB / 0.961 GB, free: 3.625 MB / 0.7169 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.000666/0.7898, allocations: 481.5 kB / 0.9615 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.7899, allocations: 12.92 kB / 0.9615 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.7904, allocations: 67.95 kB / 0.9615 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.7906, allocations: 232.5 kB / 0.9618 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.7906, allocations: 14.14 kB / 0.9618 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.7907, allocations: 17.98 kB / 0.9618 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.7912, allocations: 316.4 kB / 0.9621 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7912, allocations: 1 kB / 0.9621 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.7912, allocations: 6 kB / 0.9621 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.7913, allocations: 30.75 kB / 0.9621 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.7918, allocations: 272.6 kB / 0.9624 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.7931, allocations: 1.507 MB / 0.9639 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.7936, allocations: 264.6 kB / 0.9641 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.7939, allocations: 135.3 kB / 0.9642 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.7939, allocations: 2.656 kB / 0.9642 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.7939, allocations: 35.84 kB / 0.9643 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.7939, allocations: 0 / 0.9643 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.000757/0.7947, allocations: 359 kB / 0.9646 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.7947, allocations: 82.98 kB / 0.9647 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.7949, allocations: 177.5 kB / 0.9649 GB, free: 380 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.7949, allocations: 26.95 kB / 0.9649 GB, free: 348 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.795, allocations: 149.2 kB / 0.965 GB, free: 204 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.795, allocations: 46.16 kB / 0.9651 GB, free: 164 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.7951, allocations: 26.86 kB / 0.9651 GB, free: 136 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7952, allocations: 327.5 kB / 0.9654 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.7954, allocations: 111.8 kB / 0.9655 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.7957, allocations: 182.1 kB / 0.9657 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.7963, allocations: 291.5 kB / 0.966 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7963, allocations: 1.031 kB / 0.966 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006873/0.797, allocations: 322.4 kB / 0.9663 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.7971, allocations: 136.8 kB / 0.9664 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.7971, allocations: 3.812 kB / 0.9664 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7971, allocations: 3.5 kB / 0.9664 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.7974, allocations: 62.69 kB / 0.9665 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7974, allocations: 7.25 kB / 0.9665 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.7976, allocations: 39.92 kB / 0.9665 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.7977, allocations: 10.98 kB / 0.9665 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.7977, allocations: 4.25 kB / 0.9665 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005018/0.7982, allocations: 242.8 kB / 0.9668 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7982, allocations: 1.781 kB / 0.9668 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.7982, allocations: 3.25 kB / 0.9668 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.7984, allocations: 59.86 kB / 0.9668 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7985, allocations: 2 kB / 0.9668 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.7986, allocations: 25.73 kB / 0.9669 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.7986, allocations: 14.31 kB / 0.9669 GB, free: 14.9 MB / 0.7325 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.000181/0.7988, allocations: 224.4 kB / 0.9671 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.7989, allocations: 14.75 kB / 0.9671 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.7995, allocations: 286.2 kB / 0.9674 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7995, allocations: 9.234 kB / 0.9674 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7995, allocations: 1.312 kB / 0.9674 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7995, allocations: 0 / 0.9674 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.8008, allocations: 0.6924 MB / 0.9681 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8008, allocations: 0.9688 kB / 0.9681 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.801, allocations: 45.7 kB / 0.9681 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.801, allocations: 2.031 kB / 0.9681 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.8011, allocations: 3 kB / 0.9681 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.8011, allocations: 5.938 kB / 0.9681 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8011, allocations: 2.094 kB / 0.9681 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.8017, allocations: 460.7 kB / 0.9686 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.8018, allocations: 115.4 kB / 0.9687 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.8019, allocations: 7.016 kB / 0.9687 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.8021, allocations: 28.3 kB / 0.9687 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.8022, allocations: 17.94 kB / 0.9687 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.8022, allocations: 12.66 kB / 0.9687 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001321/0.8023, allocations: 135.5 kB / 0.9689 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8023, allocations: 0 / 0.9689 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005182/0.8029, allocations: 81.22 kB / 0.9689 GB, free: 13.31 MB / 0.7325 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.0001407/0.803, allocations: 105.9 kB / 0.969 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007821/0.8038, allocations: 392.4 kB / 0.9694 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8038, allocations: 0 / 0.9694 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.8041, allocations: 124 kB / 0.9695 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.8046, allocations: 39.12 kB / 0.9696 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.8054, allocations: 0.5491 MB / 0.9701 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.8059, allocations: 0.7397 MB / 0.9708 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.806, allocations: 22.58 kB / 0.9708 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.806, allocations: 0 / 0.9708 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.004781/0.8108, allocations: 2.55 MB / 0.9733 GB, free: 10.49 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches