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.0007982/0.0007981, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008464/0.0008466, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.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.765/2.765, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.8244, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003196/0.8277, allocations: 2.26 MB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.8297, allocations: 1.224 MB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.8298, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.83, allocations: 31.78 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.8304, allocations: 119.4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.8308, allocations: 135.7 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.8311, allocations: 295.1 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.8317, allocations: 298 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.8319, allocations: 83.64 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.8322, allocations: 119.6 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.8322, allocations: 8 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.8324, allocations: 71.88 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.8324, allocations: 59.8 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.8325, allocations: 57.58 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.8328, allocations: 209.5 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8328, allocations: 4 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8328, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8328, allocations: 0 / 1.027 GB, free: 11.03 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.0007626/0.8336, allocations: 466.9 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.8336, allocations: 12.56 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.8341, allocations: 71.62 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.8344, allocations: 238.5 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.8344, allocations: 16.23 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.8345, allocations: 12 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.835, allocations: 316.5 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.835, allocations: 0 / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.8351, allocations: 3.984 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.8351, allocations: 28.27 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.8356, allocations: 276.5 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.8376, allocations: 1.51 MB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.8381, allocations: 253.1 kB / 1.03 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.8384, allocations: 141.6 kB / 1.03 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.8384, allocations: 3.984 kB / 1.03 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.8385, allocations: 38.56 kB / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.8385, allocations: 0 / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0007945/0.8393, allocations: 360.8 kB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.8393, allocations: 81.11 kB / 1.031 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.8395, allocations: 170.7 kB / 1.031 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.8396, allocations: 29.7 kB / 1.031 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.8397, allocations: 144 kB / 1.031 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.8397, allocations: 51.33 kB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.8398, allocations: 8 kB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8399, allocations: 326.8 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.8401, allocations: 107.9 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.8404, allocations: 173.6 kB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.8407, allocations: 130.7 kB / 1.032 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8407, allocations: 3.938 kB / 1.032 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005745/0.8413, allocations: 317.2 kB / 1.032 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.8414, allocations: 143.2 kB / 1.032 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8414, allocations: 7.938 kB / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.8414, allocations: 4 kB / 1.032 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.8417, allocations: 55.89 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8418, allocations: 4 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.8419, allocations: 39.77 kB / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.842, allocations: 12 kB / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-06/0.842, allocations: 4 kB / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004377/0.8424, allocations: 243.8 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.8424, allocations: 4.062 kB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/0.8425, allocations: 4 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.8427, allocations: 55.89 kB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.8427, allocations: 0 / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.8428, allocations: 35.81 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.8428, allocations: 4 kB / 1.033 GB, free: 4.805 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.843, allocations: 225 kB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.8431, allocations: 19.77 kB / 1.033 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.8436, allocations: 281 kB / 1.033 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8436, allocations: 0 / 1.033 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.8436, allocations: 4 kB / 1.033 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8436, allocations: 4 kB / 1.033 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.8447, allocations: 0.6927 MB / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8447, allocations: 4 kB / 1.034 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.8449, allocations: 47.89 kB / 1.034 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.8449, allocations: 4 kB / 1.034 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.845, allocations: 4 kB / 1.034 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.845, allocations: 4 kB / 1.034 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.845, allocations: 0 / 1.034 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.8456, allocations: 474 kB / 1.035 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.8458, allocations: 112.8 kB / 1.035 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.8458, allocations: 8 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.846, allocations: 19.97 kB / 1.035 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.8461, allocations: 15.98 kB / 1.035 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.8461, allocations: 4 kB / 1.035 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001315/0.8462, allocations: 131.2 kB / 1.035 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8463, allocations: 4 kB / 1.035 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004907/0.8468, allocations: 83.8 kB / 1.035 GB, free: 2.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/0.847, allocations: 111.2 kB / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007959/0.8478, allocations: 385.2 kB / 1.035 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8478, allocations: 0 / 1.035 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.848, allocations: 132.5 kB / 1.036 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.8485, allocations: 38.59 kB / 1.036 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.8495, allocations: 0.4952 MB / 1.036 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.85, allocations: 0.744 MB / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.8502, allocations: 73.47 kB / 1.037 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.8503, allocations: 19.44 kB / 1.037 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8503, allocations: 0 / 1.037 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of Templates: time 0.005321/0.8556, allocations: 2.075 MB / 1.039 GB, free: 14.45 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