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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 67.89 kB / 1.057 GB, free: 1.996 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3507, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005229/0.3559, allocations: 2.669 MB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002389/0.3583, allocations: 1.332 MB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3584, allocations: 8 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.3591, allocations: 183.2 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.3596, allocations: 159.3 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.36, allocations: 171.6 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.3604, allocations: 271.2 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.3607, allocations: 113.5 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3608, allocations: 107.6 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.3612, allocations: 147.5 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3612, allocations: 16 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.3615, allocations: 147.6 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3616, allocations: 71.8 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3617, allocations: 91.53 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.3621, allocations: 314.8 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3621, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3621, allocations: 3.938 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3621, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 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.0009471/0.3631, allocations: 0.4948 MB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3631, allocations: 12.03 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005159/0.3636, allocations: 64.72 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.364, allocations: 251.8 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.364, allocations: 12.64 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.364, allocations: 16.38 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.3646, allocations: 316.7 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3646, allocations: 4 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3646, allocations: 4 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/0.3647, allocations: 28.27 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.3652, allocations: 260.6 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.367, allocations: 1.522 MB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.3676, allocations: 249 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.3678, allocations: 117.6 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3678, allocations: 0 / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3679, allocations: 42.5 kB / 1.223 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3679, allocations: 0 / 1.223 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0008203/0.3687, allocations: 341.5 kB / 1.223 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3688, allocations: 85.05 kB / 1.223 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3689, allocations: 170.6 kB / 1.224 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.369, allocations: 33.7 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3691, allocations: 140.3 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.3691, allocations: 63.47 kB / 1.224 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.3692, allocations: 41.7 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3694, allocations: 334.8 kB / 1.224 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.3696, allocations: 112.8 kB / 1.224 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3699, allocations: 169.7 kB / 1.224 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.3704, allocations: 290.7 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3704, allocations: 0 / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006211/0.371, allocations: 328 kB / 1.225 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3711, allocations: 4 kB / 1.225 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3711, allocations: 8.219 kB / 1.225 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3711, allocations: 4 kB / 1.225 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.3714, allocations: 59.83 kB / 1.225 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3714, allocations: 3.984 kB / 1.225 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.3716, allocations: 35.86 kB / 1.225 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.3716, allocations: 8 kB / 1.225 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003056/0.3719, allocations: 207.9 kB / 1.225 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002541/0.3722, allocations: 155.7 kB / 1.225 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004461/0.3726, allocations: 254.7 kB / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.3726, allocations: 0 / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005682/0.3732, allocations: 293.3 kB / 1.226 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3732, allocations: 8 kB / 1.226 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.3732, allocations: 0 / 1.226 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.3732, allocations: 4 kB / 1.226 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.3735, allocations: 55.89 kB / 1.226 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3735, allocations: 4 kB / 1.226 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.3736, allocations: 23.88 kB / 1.226 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3737, allocations: 8 kB / 1.226 GB, free: 4.137 MB / 0.9669 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.0001384/0.3738, allocations: 200.3 kB / 1.226 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.3739, allocations: 15.91 kB / 1.226 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005884/0.3745, allocations: 269.5 kB / 1.227 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3745, allocations: 0 / 1.227 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3745, allocations: 4 kB / 1.227 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3745, allocations: 3.984 kB / 1.227 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.3756, allocations: 0.681 MB / 1.227 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3757, allocations: 3.984 kB / 1.227 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3759, allocations: 55.89 kB / 1.227 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3759, allocations: 4 kB / 1.227 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3759, allocations: 3.938 kB / 1.227 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3759, allocations: 8.125 kB / 1.227 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3759, allocations: 0 / 1.227 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.3765, allocations: 453.9 kB / 1.228 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3767, allocations: 109 kB / 1.228 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.3767, allocations: 11.88 kB / 1.228 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3769, allocations: 19.97 kB / 1.228 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.377, allocations: 11.98 kB / 1.228 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.377, allocations: 8 kB / 1.228 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000132/0.3771, allocations: 131.2 kB / 1.228 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 4 kB / 1.228 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004835/0.3776, allocations: 83.89 kB / 1.228 GB, free: 1.953 MB / 0.9669 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.0001634/0.3778, allocations: 111.7 kB / 1.228 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008203/0.3786, allocations: 358.7 kB / 1.229 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3786, allocations: 0 / 1.229 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.3788, allocations: 119.7 kB / 1.229 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.3793, allocations: 44.95 kB / 1.229 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.3802, allocations: 492 kB / 1.229 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3806, allocations: 0.7402 MB / 1.23 GB, free: 40 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.3807, allocations: 19.42 kB / 1.23 GB, free: 20 kB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3807, allocations: 4 kB / 1.23 GB, free: 16 kB / 0.9669 GB Notification: Performance of Templates: time 0.005005/0.3857, allocations: 2.628 MB / 1.232 GB, free: 13.39 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.327725982991979]