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.001941/0.001941, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 198.1 kB / 16.53 MB, free: 6.66 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.736/1.736, allocations: 222.9 MB / 240.2 MB, free: 4.375 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 3.015/3.015, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 59.91 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7668, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005123/0.7719, allocations: 2.642 MB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.7743, allocations: 1.313 MB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.7744, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.7753, allocations: 179.2 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.7758, allocations: 171.2 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.7762, allocations: 158.9 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.7766, allocations: 267.1 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.7769, allocations: 141.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.7771, allocations: 99.61 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.7774, allocations: 119.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.7774, allocations: 16 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.7777, allocations: 155.6 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.7778, allocations: 71.73 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.7779, allocations: 87.55 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.7783, allocations: 293 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7783, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7783, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7783, allocations: 0 / 1.023 GB, free: 12.77 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.0008221/0.7791, allocations: 0.4989 MB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7792, allocations: 8.031 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005047/0.7797, allocations: 68.58 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.78, allocations: 243.8 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.7801, allocations: 12.66 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.7801, allocations: 12.38 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.7807, allocations: 308.8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.7807, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.7808, allocations: 11.98 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.7808, allocations: 32.19 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.7813, allocations: 252.6 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.7831, allocations: 1.502 MB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.7837, allocations: 261 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.7839, allocations: 121.6 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.784, allocations: 4 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.784, allocations: 38.56 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.784, allocations: 0 / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0008318/0.7849, allocations: 345.2 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.7849, allocations: 81.11 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.7851, allocations: 174.7 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.7852, allocations: 25.7 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.7853, allocations: 147.9 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.7853, allocations: 47.36 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.7854, allocations: 57.72 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7856, allocations: 330.7 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.7858, allocations: 104.8 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.7861, allocations: 165.1 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.7866, allocations: 288.6 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7866, allocations: 0 / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005782/0.7872, allocations: 297.3 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7872, allocations: 13.78 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7872, allocations: 0 / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7873, allocations: 7.938 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.7876, allocations: 55.89 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7876, allocations: 0 / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.7878, allocations: 43.66 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.7878, allocations: 4 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002685/0.7881, allocations: 196 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002474/0.7883, allocations: 154.5 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005019/0.7888, allocations: 257.3 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.7889, allocations: 0 / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005275/0.7894, allocations: 277.3 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.7894, allocations: 4 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7894, allocations: 7.938 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-06/0.7894, allocations: 0 / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.7896, allocations: 55.89 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.7896, allocations: 256 / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.7898, allocations: 35.83 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.7898, allocations: 8 kB / 1.029 GB, free: 5.832 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.0001523/0.79, allocations: 200.1 kB / 1.029 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.7901, allocations: 15.81 kB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.7906, allocations: 268.1 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.7907, allocations: 0 / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7907, allocations: 4 kB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.7907, allocations: 7.984 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.7918, allocations: 0.6731 MB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7918, allocations: 0 / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.792, allocations: 52.02 kB / 1.03 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7921, allocations: 4 kB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.7921, allocations: 15.91 kB / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7921, allocations: 7.938 kB / 1.03 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7921, allocations: 0 / 1.03 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.7927, allocations: 450.9 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.7928, allocations: 105 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.7929, allocations: 11.94 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.7931, allocations: 15.97 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.7931, allocations: 19.98 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.7932, allocations: 4 kB / 1.031 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001194/0.7933, allocations: 135.2 kB / 1.031 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7933, allocations: 0 / 1.031 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004679/0.7938, allocations: 87.75 kB / 1.031 GB, free: 3.66 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.0001446/0.7939, allocations: 107.1 kB / 1.031 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007984/0.7947, allocations: 385.5 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7947, allocations: 0 / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.795, allocations: 124.9 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.7955, allocations: 42.73 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008681/0.7963, allocations: 442.4 kB / 1.032 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.7968, allocations: 0.7479 MB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.797, allocations: 73.47 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.7971, allocations: 23.44 kB / 1.033 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7971, allocations: 0 / 1.033 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.00584/0.8029, allocations: 2.303 MB / 1.035 GB, free: 15.38 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=400 -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