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: 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_10_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_10_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.0008068/0.0008072, allocations: 97.64 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.005783/0.005783, allocations: 170.1 kB / 16.27 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.671/2.671, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004246, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.722, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003171/0.7252, allocations: 2.341 MB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.7274, allocations: 1.294 MB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.7275, allocations: 3.938 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.7277, allocations: 31.72 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.7281, allocations: 159.4 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.7285, allocations: 151.7 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000404/0.7289, allocations: 363 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.7295, allocations: 305.8 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.7297, allocations: 91.62 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.73, allocations: 119.5 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.73, allocations: 15.94 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.7303, allocations: 179.6 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.7304, allocations: 63.86 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.7306, allocations: 109.2 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.7309, allocations: 292.9 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.7309, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7309, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.731, allocations: 0 / 1.028 GB, free: 10.29 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.0007885/0.7317, allocations: 467.1 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7318, allocations: 8.031 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/0.7323, allocations: 72.56 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.7326, allocations: 239.8 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.7326, allocations: 8.656 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.7327, allocations: 20.36 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.7332, allocations: 320.8 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7332, allocations: 0 / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.7333, allocations: 4 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.7333, allocations: 28.27 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.7339, allocations: 272.5 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.7355, allocations: 1.51 MB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.736, allocations: 264.9 kB / 1.031 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.7363, allocations: 129.6 kB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.7363, allocations: 8 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.7363, allocations: 34.56 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.956e-06/0.7363, allocations: 4 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0007848/0.7371, allocations: 353.2 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.7372, allocations: 85.23 kB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.7374, allocations: 174.7 kB / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.7374, allocations: 33.64 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.7375, allocations: 147.9 kB / 1.032 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.7375, allocations: 43.36 kB / 1.032 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.7376, allocations: 21.72 kB / 1.032 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7377, allocations: 330.8 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.7379, allocations: 111.9 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.7382, allocations: 178 kB / 1.033 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.7387, allocations: 296.7 kB / 1.033 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7387, allocations: 4 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000581/0.7393, allocations: 313.3 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/0.7394, allocations: 139.2 kB / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.7394, allocations: 4 kB / 1.034 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.7395, allocations: 4 kB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.7398, allocations: 55.89 kB / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7398, allocations: 7.938 kB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.74, allocations: 43.75 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.74, allocations: 7.938 kB / 1.034 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.74, allocations: 4 kB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004808/0.7405, allocations: 245.9 kB / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.7405, allocations: 0 / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.7405, allocations: 4 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.7408, allocations: 59.91 kB / 1.034 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7408, allocations: 7.984 kB / 1.034 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.7409, allocations: 23.83 kB / 1.034 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.741, allocations: 12 kB / 1.034 GB, free: 3.848 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.0001537/0.7411, allocations: 222.6 kB / 1.034 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.7412, allocations: 15.81 kB / 1.034 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.7418, allocations: 282.9 kB / 1.035 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.7418, allocations: 4 kB / 1.035 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7418, allocations: 4 kB / 1.035 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7418, allocations: 0 / 1.035 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.7429, allocations: 0.7042 MB / 1.035 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7429, allocations: 0 / 1.035 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.7432, allocations: 47.95 kB / 1.035 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7432, allocations: 0 / 1.035 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.7432, allocations: 4 kB / 1.035 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.7432, allocations: 7.875 kB / 1.035 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7432, allocations: 7.984 kB / 1.035 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.7438, allocations: 455.4 kB / 1.036 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.7439, allocations: 112.8 kB / 1.036 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.744, allocations: 4 kB / 1.036 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.7442, allocations: 27.91 kB / 1.036 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.7442, allocations: 19.91 kB / 1.036 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.7443, allocations: 8 kB / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.825e-05/0.7444, allocations: 135.2 kB / 1.036 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7444, allocations: 0 / 1.036 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004669/0.7449, allocations: 87.69 kB / 1.036 GB, free: 1.602 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.0001421/0.745, allocations: 103.2 kB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.7458, allocations: 392.4 kB / 1.037 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7458, allocations: 0 / 1.037 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.746, allocations: 124.9 kB / 1.037 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.7466, allocations: 40.66 kB / 1.037 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.7474, allocations: 0.5105 MB / 1.037 GB, free: 404 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.7478, allocations: 0.7402 MB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.748, allocations: 77.47 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.7481, allocations: 15.44 kB / 1.038 GB, free: 15.54 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.7481, allocations: 0 / 1.038 GB, free: 15.54 MB / 0.795 GB Notification: Performance of Templates: time 0.005094/0.7532, allocations: 2.136 MB / 1.04 GB, free: 13.42 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (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 & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/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