Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.759/2.759, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 64.17 kB / 0.9819 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9967/0.9989, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004824/1.004, allocations: 2.647 MB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002367/1.006, allocations: 1.287 MB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/1.006, allocations: 10.56 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008109/1.007, allocations: 176.3 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004549/1.008, allocations: 162.1 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/1.008, allocations: 162.2 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004037/1.008, allocations: 279.8 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/1.009, allocations: 112.5 kB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/1.009, allocations: 120.7 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/1.009, allocations: 132.3 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/1.009, allocations: 20.78 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/1.009, allocations: 129.8 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/1.01, allocations: 74.38 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/1.01, allocations: 75.38 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003988/1.01, allocations: 302.7 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.01, allocations: 3.938 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.964e-06/1.01, allocations: 0 / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.01, allocations: 2.594 kB / 1.159 GB, free: 30.06 MB / 1.076 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.0007502/1.011, allocations: 434.2 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.011, allocations: 8.969 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/1.011, allocations: 77.03 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/1.012, allocations: 185.2 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.012, allocations: 10.94 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/1.012, allocations: 16.44 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/1.012, allocations: 366.4 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.012, allocations: 0 / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/1.012, allocations: 10.8 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/1.012, allocations: 28.16 kB / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/1.013, allocations: 262.8 kB / 1.161 GB, free: 29.19 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/1.014, allocations: 1.102 MB / 1.162 GB, free: 28.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/1.014, allocations: 242.2 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/1.014, allocations: 117.2 kB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/1.014, allocations: 7 kB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/1.015, allocations: 37.72 kB / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/1.015, allocations: 0 / 1.162 GB, free: 28.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006613/1.015, allocations: 345.6 kB / 1.163 GB, free: 28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/1.015, allocations: 84.23 kB / 1.163 GB, free: 27.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/1.015, allocations: 183.5 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.015, allocations: 25.7 kB / 1.163 GB, free: 27.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/1.015, allocations: 150.5 kB / 1.163 GB, free: 27.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/1.015, allocations: 52.31 kB / 1.163 GB, free: 27.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/1.016, allocations: 51.25 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.387e-05/1.016, allocations: 325 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.016, allocations: 116.4 kB / 1.164 GB, free: 27.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/1.016, allocations: 197.5 kB / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/1.016, allocations: 292.7 kB / 1.164 GB, free: 26.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.016, allocations: 6.938 kB / 1.164 GB, free: 26.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004802/1.017, allocations: 318.5 kB / 1.164 GB, free: 26.74 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.017, allocations: 9 kB / 1.164 GB, free: 26.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.017, allocations: 3.062 kB / 1.164 GB, free: 26.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.017, allocations: 2.875 kB / 1.164 GB, free: 26.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/1.017, allocations: 58.55 kB / 1.164 GB, free: 26.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.017, allocations: 6.5 kB / 1.164 GB, free: 26.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/1.017, allocations: 37.34 kB / 1.164 GB, free: 26.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/1.017, allocations: 9.625 kB / 1.164 GB, free: 26.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002136/1.018, allocations: 196.4 kB / 1.165 GB, free: 26.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001836/1.018, allocations: 189 kB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003397/1.018, allocations: 259.6 kB / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/1.018, allocations: 2.219 kB / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004324/1.019, allocations: 291.8 kB / 1.165 GB, free: 26.19 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/1.019, allocations: 8.125 kB / 1.165 GB, free: 26.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/1.019, allocations: 4 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-06/1.019, allocations: 2.719 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.019, allocations: 52.61 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/1.019, allocations: 5.984 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/1.019, allocations: 24.78 kB / 1.165 GB, free: 26.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/1.019, allocations: 7.844 kB / 1.165 GB, free: 26.17 MB / 1.076 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 6.511e-05/1.019, allocations: 199.3 kB / 1.166 GB, free: 25.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/1.019, allocations: 13.69 kB / 1.166 GB, free: 25.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/1.02, allocations: 273.9 kB / 1.166 GB, free: 25.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.02, allocations: 2.25 kB / 1.166 GB, free: 25.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.02, allocations: 6.156 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.02, allocations: 0 / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/1.02, allocations: 0.5868 MB / 1.166 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.02, allocations: 2.625 kB / 1.166 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/1.021, allocations: 53.31 kB / 1.166 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.021, allocations: 2.625 kB / 1.166 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.021, allocations: 6.047 kB / 1.167 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.021, allocations: 2.625 kB / 1.167 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.021, allocations: 3.938 kB / 1.167 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/1.021, allocations: 454.9 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/1.021, allocations: 33.02 kB / 1.167 GB, free: 25.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/1.021, allocations: 9.984 kB / 1.167 GB, free: 25.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/1.021, allocations: 25.34 kB / 1.167 GB, free: 25.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/1.021, allocations: 12.61 kB / 1.167 GB, free: 25.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.021, allocations: 5.25 kB / 1.167 GB, free: 25.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.567e-05/1.022, allocations: 129.2 kB / 1.167 GB, free: 25.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.022, allocations: 0 / 1.167 GB, free: 25.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000464/1.022, allocations: 84.14 kB / 1.167 GB, free: 25.01 MB / 1.076 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 9.278e-05/1.022, allocations: 106.4 kB / 1.167 GB, free: 24.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006199/1.023, allocations: 366.3 kB / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.023, allocations: 0 / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/1.023, allocations: 109.5 kB / 1.168 GB, free: 24.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/1.023, allocations: 44.45 kB / 1.168 GB, free: 24.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/1.024, allocations: 448.4 kB / 1.168 GB, free: 24.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/1.024, allocations: 140.9 kB / 1.168 GB, free: 24.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001679/1.024, allocations: 73.64 kB / 1.168 GB, free: 24.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/1.024, allocations: 27.02 kB / 1.168 GB, free: 24.38 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/1.024, allocations: 0 / 1.168 GB, free: 24.38 MB / 1.076 GB Notification: Performance of Templates: time 0.005581/1.03, allocations: 2.485 MB / 1.171 GB, free: 24.11 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.081820513936691]