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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001195/0.001195, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001284/0.001285, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 60.38 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00386/0.3278, allocations: 2.636 MB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3297, allocations: 1.324 MB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.3298, allocations: 4 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.3306, allocations: 183.2 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.3309, allocations: 163.3 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3313, allocations: 164.8 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3316, allocations: 267.1 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.3319, allocations: 145.4 kB / 1.024 GB, free: 4.977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.332, allocations: 99.62 kB / 1.024 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3323, allocations: 131.5 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.3323, allocations: 12 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.3326, allocations: 147.7 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.3327, allocations: 71.73 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.847e-05/0.3328, allocations: 87.53 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.3331, allocations: 295.1 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3331, allocations: 3.938 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3331, allocations: 0 / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3331, allocations: 0 / 1.024 GB, free: 4.145 MB / 0.795 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.0007282/0.3339, allocations: 0.4911 MB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3339, allocations: 8.922 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.3344, allocations: 72.58 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3347, allocations: 246 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3348, allocations: 16.64 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3348, allocations: 12.38 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.3353, allocations: 308.8 kB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3353, allocations: 0 / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.3353, allocations: 8 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.3354, allocations: 28.25 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.3359, allocations: 252.6 kB / 1.026 GB, free: 2.609 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3374, allocations: 1.506 MB / 1.027 GB, free: 0.957 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.3379, allocations: 253 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.3382, allocations: 137.6 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3382, allocations: 0 / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3382, allocations: 38.5 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.3382, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0007563/0.339, allocations: 349.1 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3391, allocations: 81.23 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3392, allocations: 175.8 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3392, allocations: 25.7 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.3393, allocations: 148 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.3394, allocations: 47.28 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.3395, allocations: 57.59 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3396, allocations: 326.8 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.3398, allocations: 108.8 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.3401, allocations: 163.6 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.3405, allocations: 274.7 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3405, allocations: 0 / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000544/0.3411, allocations: 319.2 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3411, allocations: 4 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3411, allocations: 4 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3411, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3414, allocations: 55.89 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3414, allocations: 8.219 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3416, allocations: 31.81 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.3417, allocations: 19.88 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002426/0.3419, allocations: 192 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000224/0.3422, allocations: 155 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003975/0.3426, allocations: 247.5 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.3426, allocations: 4 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004849/0.3431, allocations: 283.8 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3431, allocations: 10.34 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.3431, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.3431, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3433, allocations: 51.89 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3433, allocations: 4 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3435, allocations: 31.77 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3435, allocations: 12 kB / 1.031 GB, free: 13.2 MB / 0.8106 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.0001655/0.3437, allocations: 197.3 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.3438, allocations: 11.91 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005247/0.3443, allocations: 270.8 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3443, allocations: 4 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3443, allocations: 0 / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3443, allocations: 3.984 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.3453, allocations: 0.6732 MB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3454, allocations: 4 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.3456, allocations: 47.95 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3456, allocations: 0 / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3456, allocations: 11.92 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3456, allocations: 7.938 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3456, allocations: 8.125 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.3462, allocations: 449.9 kB / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3463, allocations: 116.8 kB / 1.032 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.3463, allocations: 3.938 kB / 1.032 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3466, allocations: 23.97 kB / 1.032 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.3466, allocations: 11.92 kB / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3466, allocations: 8 kB / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001032/0.3467, allocations: 135.7 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3467, allocations: 0 / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004731/0.3472, allocations: 83.84 kB / 1.033 GB, free: 11.03 MB / 0.8106 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.0001294/0.3474, allocations: 103.2 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007028/0.3481, allocations: 374.5 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3481, allocations: 4.062 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.3483, allocations: 123.7 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.3488, allocations: 42.69 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.3495, allocations: 442.6 kB / 1.034 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3498, allocations: 0.7402 MB / 1.034 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.35, allocations: 77.45 kB / 1.034 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.3501, allocations: 23.44 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3501, allocations: 0 / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of Templates: time 0.005081/0.3552, allocations: 2.309 MB / 1.037 GB, free: 6.758 MB / 0.8106 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 -s gbode -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/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