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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008952/0.0008952, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008962/0.008962, allocations: 169 kB / 16.26 MB, free: 6.652 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.609/1.609, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.7995, allocations: 142.4 MB / 0.955 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002773/0.8023, allocations: 2.334 MB / 0.9573 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.804, allocations: 1.306 MB / 0.9586 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.8041, allocations: 1.375 kB / 0.9586 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.8043, allocations: 23.91 kB / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.8047, allocations: 155.3 kB / 0.9588 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.805, allocations: 153.3 kB / 0.9589 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.8054, allocations: 374.3 kB / 0.9593 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.8059, allocations: 317.7 kB / 0.9596 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.8061, allocations: 76.33 kB / 0.9597 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.8063, allocations: 125.8 kB / 0.9598 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.8064, allocations: 7.844 kB / 0.9598 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.8066, allocations: 180.4 kB / 0.96 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.8067, allocations: 63.19 kB / 0.96 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.545e-05/0.8068, allocations: 108.7 kB / 0.9601 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.8071, allocations: 294.7 kB / 0.9604 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8071, allocations: 0 / 0.9604 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8071, allocations: 0 / 0.9604 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.8072, allocations: 0 / 0.9604 GB, free: 3.828 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.000648/0.8078, allocations: 469.8 kB / 0.9608 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8079, allocations: 13.59 kB / 0.9609 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.8084, allocations: 71.33 kB / 0.9609 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.8086, allocations: 240.8 kB / 0.9612 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.8087, allocations: 9.75 kB / 0.9612 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.8087, allocations: 13.53 kB / 0.9612 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.8093, allocations: 321.2 kB / 0.9615 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8093, allocations: 1.031 kB / 0.9615 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.8093, allocations: 9.953 kB / 0.9615 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.8094, allocations: 22.3 kB / 0.9615 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.8099, allocations: 277.4 kB / 0.9618 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.8113, allocations: 1.505 MB / 0.9633 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.8118, allocations: 260.8 kB / 0.9635 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.8121, allocations: 136 kB / 0.9636 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.8121, allocations: 8.984 kB / 0.9636 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.8121, allocations: 36.81 kB / 0.9637 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.8121, allocations: 0 / 0.9637 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008035/0.813, allocations: 363.5 kB / 0.964 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.813, allocations: 79.3 kB / 0.9641 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.8132, allocations: 173.8 kB / 0.9643 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.8132, allocations: 35.73 kB / 0.9643 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.8133, allocations: 143.8 kB / 0.9644 GB, free: 412 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.8133, allocations: 47.2 kB / 0.9645 GB, free: 372 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.8134, allocations: 22.53 kB / 0.9645 GB, free: 348 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.8134, allocations: 330.6 kB / 0.9648 GB, free: 12 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.8137, allocations: 104.4 kB / 0.9649 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.814, allocations: 173.6 kB / 0.9651 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.8145, allocations: 299.7 kB / 0.9654 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.8145, allocations: 0 / 0.9654 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006109/0.8151, allocations: 321.1 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.8152, allocations: 139.2 kB / 0.9658 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8153, allocations: 1.688 kB / 0.9658 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.8153, allocations: 6.984 kB / 0.9658 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.8156, allocations: 62.14 kB / 0.9659 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8156, allocations: 6.156 kB / 0.9659 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.8158, allocations: 39.72 kB / 0.9659 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.8158, allocations: 6.5 kB / 0.9659 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-06/0.8158, allocations: 12.5 kB / 0.9659 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004931/0.8163, allocations: 242.8 kB / 0.9662 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.8164, allocations: 2.219 kB / 0.9662 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.8164, allocations: 7.312 kB / 0.9662 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.8166, allocations: 50.75 kB / 0.9662 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.8166, allocations: 7.766 kB / 0.9662 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.8168, allocations: 29.11 kB / 0.9663 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.8168, allocations: 10.88 kB / 0.9663 GB, free: 15.11 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.0001674/0.817, allocations: 218.8 kB / 0.9665 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.817, allocations: 20.22 kB / 0.9665 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.8177, allocations: 278.8 kB / 0.9668 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8177, allocations: 1.969 kB / 0.9668 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8177, allocations: 1.031 kB / 0.9668 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8177, allocations: 0.9688 kB / 0.9668 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.8188, allocations: 0.6917 MB / 0.9674 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8188, allocations: 8.875 kB / 0.9675 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.819, allocations: 53.73 kB / 0.9675 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8191, allocations: 6.062 kB / 0.9675 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.8191, allocations: 3 kB / 0.9675 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.8191, allocations: 9.953 kB / 0.9675 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8191, allocations: 1.969 kB / 0.9675 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.8197, allocations: 462 kB / 0.968 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.8198, allocations: 116.2 kB / 0.9681 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.8199, allocations: 3 kB / 0.9681 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.8201, allocations: 27.75 kB / 0.9681 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.8202, allocations: 9.984 kB / 0.9681 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.8202, allocations: 4.531 kB / 0.9681 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001271/0.8203, allocations: 136.3 kB / 0.9682 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.543e-06/0.8203, allocations: 4 kB / 0.9682 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005131/0.8208, allocations: 89.75 kB / 0.9683 GB, free: 13.51 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.0001346/0.821, allocations: 101.1 kB / 0.9684 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008121/0.8218, allocations: 389.1 kB / 0.9688 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8218, allocations: 0 / 0.9688 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.8221, allocations: 120.7 kB / 0.9689 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.8226, allocations: 51.78 kB / 0.969 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.8235, allocations: 0.5042 MB / 0.9695 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.8238, allocations: 0.7487 MB / 0.9702 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.8241, allocations: 74.72 kB / 0.9703 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.8241, allocations: 16.91 kB / 0.9703 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.8242, allocations: 0 / 0.9703 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.005234/0.8294, allocations: 2.129 MB / 0.9724 GB, free: 10.95 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/jenkins/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