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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001204/0.001204, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00181/0.00181, allocations: 172.7 kB / 15.95 MB, free: 208 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.531/1.531, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.708/2.708, allocations: 390.9 MB / 0.666 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 16 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8481, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002718/0.8509, allocations: 2.261 MB / 0.9567 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.8526, allocations: 1.226 MB / 0.9579 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.8527, allocations: 3.312 kB / 0.9579 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.8529, allocations: 23.94 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.8532, allocations: 124.3 kB / 0.958 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.8535, allocations: 138.1 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.8538, allocations: 295.5 kB / 0.9584 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.8543, allocations: 299.2 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.8545, allocations: 89.05 kB / 0.9588 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.8547, allocations: 110.1 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.8547, allocations: 10.88 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.8549, allocations: 75.75 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.855, allocations: 56.42 kB / 0.959 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.855, allocations: 56.77 kB / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.8552, allocations: 207.7 kB / 0.9593 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8552, allocations: 3.938 kB / 0.9593 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8552, allocations: 0 / 0.9593 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.8553, allocations: 1.375 kB / 0.9593 GB, free: 4.012 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.0006418/0.8559, allocations: 471.4 kB / 0.9597 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.8559, allocations: 8.25 kB / 0.9597 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/0.8564, allocations: 75.38 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.8566, allocations: 232.8 kB / 0.96 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.8567, allocations: 7.156 kB / 0.96 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.8567, allocations: 16.19 kB / 0.9601 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.8572, allocations: 324.2 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8572, allocations: 0 / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.8572, allocations: 6.922 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.8573, allocations: 30.41 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.8578, allocations: 275.6 kB / 0.9607 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.8592, allocations: 1.498 MB / 0.9621 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.8597, allocations: 271.2 kB / 0.9624 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.86, allocations: 131.2 kB / 0.9625 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.86, allocations: 5.672 kB / 0.9625 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.86, allocations: 36.59 kB / 0.9625 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.86, allocations: 4 kB / 0.9625 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007321/0.8608, allocations: 351.8 kB / 0.9629 GB, free: 1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.8608, allocations: 87.23 kB / 0.963 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.861, allocations: 176.3 kB / 0.9631 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.861, allocations: 30.8 kB / 0.9632 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.861, allocations: 141.4 kB / 0.9633 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.8611, allocations: 49.64 kB / 0.9633 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.8611, allocations: 5.25 kB / 0.9634 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.8612, allocations: 323.1 kB / 0.9637 GB, free: 224 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.8614, allocations: 111.8 kB / 0.9638 GB, free: 168 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.8616, allocations: 168.9 kB / 0.9639 GB, free: 36 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.8619, allocations: 129.1 kB / 0.9641 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8619, allocations: 1.156 kB / 0.9641 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000571/0.8625, allocations: 319 kB / 0.9644 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.562e-05/0.8626, allocations: 148 kB / 0.9645 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8626, allocations: 2.938 kB / 0.9645 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8626, allocations: 2.781 kB / 0.9645 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.8629, allocations: 61.98 kB / 0.9646 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8629, allocations: 2.562 kB / 0.9646 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.8631, allocations: 40.16 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.8632, allocations: 6.062 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.8632, allocations: 3.562 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004567/0.8636, allocations: 243.8 kB / 0.9648 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8636, allocations: 2.344 kB / 0.9648 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.8637, allocations: 7.547 kB / 0.9649 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.8639, allocations: 55.34 kB / 0.9649 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8639, allocations: 11.02 kB / 0.9649 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.864, allocations: 32.81 kB / 0.9649 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.8641, allocations: 7.125 kB / 0.965 GB, free: 15.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.8642, allocations: 219.4 kB / 0.9652 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.8643, allocations: 19.28 kB / 0.9652 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.8649, allocations: 279.8 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8649, allocations: 3.062 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8649, allocations: 3.953 kB / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8649, allocations: 0 / 0.9655 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.866, allocations: 0.6942 MB / 0.9661 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.866, allocations: 1.031 kB / 0.9661 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.8662, allocations: 49.33 kB / 0.9662 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.8662, allocations: 10.95 kB / 0.9662 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.8663, allocations: 6.938 kB / 0.9662 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.8663, allocations: 1.719 kB / 0.9662 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8663, allocations: 2.031 kB / 0.9662 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/0.8669, allocations: 456.3 kB / 0.9666 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.867, allocations: 112.4 kB / 0.9667 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.8671, allocations: 10.42 kB / 0.9668 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.8673, allocations: 24.41 kB / 0.9668 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.8673, allocations: 14.23 kB / 0.9668 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.8674, allocations: 3.906 kB / 0.9668 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000129/0.8675, allocations: 127.5 kB / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8675, allocations: 0 / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005623/0.8681, allocations: 85.5 kB / 0.967 GB, free: 13.86 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 (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.0001843/0.8683, allocations: 108.7 kB / 0.9671 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008976/0.8692, allocations: 393.8 kB / 0.9675 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8692, allocations: 0 / 0.9675 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.8695, allocations: 119.7 kB / 0.9676 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.87, allocations: 31.48 kB / 0.9676 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.871, allocations: 0.499 MB / 0.9681 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.8714, allocations: 0.744 MB / 0.9688 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000249/0.8717, allocations: 82.91 kB / 0.9689 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.8718, allocations: 16.56 kB / 0.9689 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8718, allocations: 0 / 0.9689 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.005477/0.8773, allocations: 2.081 MB / 0.971 GB, free: 11.32 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