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.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001906/0.001906, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.683/2.683, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7322, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005441/0.7377, allocations: 2.695 MB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.7402, allocations: 1.329 MB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.7405, allocations: 3.938 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007671/0.7413, allocations: 167.4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.7418, allocations: 155.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.7424, allocations: 155.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.743, allocations: 363 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.7434, allocations: 145.4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.7437, allocations: 91.64 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.7441, allocations: 127.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.7441, allocations: 8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.7445, allocations: 187.6 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.7446, allocations: 63.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.7447, allocations: 83.55 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.7452, allocations: 309 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7452, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7452, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.7452, allocations: 3.938 kB / 1.022 GB, free: 12.91 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.0009055/0.7462, allocations: 0.4912 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7462, allocations: 8.031 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005732/0.7468, allocations: 72.58 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.7471, allocations: 237.6 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.7471, allocations: 12.64 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.7472, allocations: 16.36 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.7477, allocations: 304.9 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7478, allocations: 3.938 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.7478, allocations: 8 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/0.7478, allocations: 28.25 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.7484, allocations: 260.6 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.7501, allocations: 1.494 MB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.7506, allocations: 273 kB / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.7508, allocations: 121.6 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.7508, allocations: 4 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.7509, allocations: 34.56 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.7509, allocations: 0 / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0007782/0.7517, allocations: 345.2 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.7517, allocations: 81.05 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.7519, allocations: 179.2 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.7519, allocations: 29.83 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.752, allocations: 147.9 kB / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.7521, allocations: 51.34 kB / 1.026 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.7522, allocations: 45.61 kB / 1.026 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7523, allocations: 334.8 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.7525, allocations: 100.8 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.7528, allocations: 175.6 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.7533, allocations: 285.1 kB / 1.027 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7533, allocations: 0 / 1.027 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005741/0.7538, allocations: 305.2 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.7539, allocations: 8 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7539, allocations: 0 / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.7539, allocations: 4 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.7542, allocations: 55.95 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.7542, allocations: 7.938 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.7544, allocations: 31.81 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.7545, allocations: 11.94 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002918/0.7548, allocations: 200.2 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002154/0.755, allocations: 154.1 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000389/0.7554, allocations: 256.7 kB / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.7554, allocations: 0 / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004936/0.7559, allocations: 273.2 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.7559, allocations: 4 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.7559, allocations: 4 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.756, allocations: 8.25 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.7562, allocations: 51.91 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7562, allocations: 7.984 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.7564, allocations: 27.83 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.7564, allocations: 4 kB / 1.029 GB, free: 5.977 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.000108/0.7565, allocations: 192.1 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.7566, allocations: 11.91 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.7571, allocations: 283.8 kB / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7571, allocations: 0 / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7571, allocations: 4 kB / 1.029 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7572, allocations: 0 / 1.029 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.7582, allocations: 0.6849 MB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7582, allocations: 0 / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.7585, allocations: 43.95 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.7585, allocations: 4 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.7585, allocations: 3.938 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.7585, allocations: 7.984 kB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7585, allocations: 3.938 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.7591, allocations: 450.7 kB / 1.03 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.7592, allocations: 108.9 kB / 1.03 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.7592, allocations: 7.938 kB / 1.03 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.7595, allocations: 27.97 kB / 1.03 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.7595, allocations: 15.92 kB / 1.03 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.7596, allocations: 8 kB / 1.03 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001038/0.7597, allocations: 135.2 kB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7597, allocations: 0 / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005003/0.7602, allocations: 79.84 kB / 1.031 GB, free: 3.809 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.0001137/0.7603, allocations: 107.2 kB / 1.031 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007504/0.7611, allocations: 368.9 kB / 1.031 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7611, allocations: 4.938 kB / 1.031 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.7613, allocations: 120.1 kB / 1.031 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.7618, allocations: 43.84 kB / 1.031 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.7627, allocations: 0.5009 MB / 1.032 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.763, allocations: 0.744 MB / 1.032 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.7632, allocations: 77.45 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.7633, allocations: 19.44 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7633, allocations: 0 / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.005075/0.7684, allocations: 2.165 MB / 1.035 GB, free: 15.61 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