Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001617/0.001617, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001832/0.001832, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.416/3.416, allocations: 0.5107 GB / 0.8158 GB, free: 17.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002067/0.002067, allocations: 67.41 kB / 1.186 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3754, allocations: 181.9 MB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004238/0.3797, allocations: 2.644 MB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3819, allocations: 1.286 MB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.382, allocations: 4 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.3827, allocations: 179.2 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003778/0.3831, allocations: 171.2 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.3835, allocations: 167.7 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.3838, allocations: 279.1 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.3841, allocations: 113.5 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.3843, allocations: 119.6 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3846, allocations: 127.5 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.3846, allocations: 16 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.3848, allocations: 131.7 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.3849, allocations: 83.72 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.385, allocations: 75.66 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.3854, allocations: 302.9 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3854, allocations: 0 / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3854, allocations: 0 / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3854, allocations: 0 / 1.369 GB, free: 7.98 MB / 1.061 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.0007683/0.3862, allocations: 425.5 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3862, allocations: 12.03 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004894/0.3867, allocations: 72.72 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.387, allocations: 190.2 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3871, allocations: 12.64 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3871, allocations: 16.38 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.3877, allocations: 368 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3877, allocations: 0 / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.3878, allocations: 8 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.3878, allocations: 24.27 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.3883, allocations: 268.5 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.3899, allocations: 1.095 MB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.3904, allocations: 245 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.3907, allocations: 129.6 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3907, allocations: 0 / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3907, allocations: 38.55 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 9.72e-07/0.3907, allocations: 0 / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007767/0.3915, allocations: 335.6 kB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3916, allocations: 85.09 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3917, allocations: 174.4 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3918, allocations: 29.83 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3919, allocations: 152.1 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.3919, allocations: 51.58 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.392, allocations: 53.64 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3921, allocations: 330.8 kB / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.3924, allocations: 112.8 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.3927, allocations: 199.2 kB / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.3932, allocations: 301.5 kB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3932, allocations: 0 / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006126/0.3938, allocations: 317.4 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3938, allocations: 7.938 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3938, allocations: 4 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3938, allocations: 0 / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.3941, allocations: 55.89 kB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3941, allocations: 4 kB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.3943, allocations: 39.81 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3944, allocations: 11.98 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002858/0.3947, allocations: 201.3 kB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002605/0.3949, allocations: 182.1 kB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004768/0.3954, allocations: 265.3 kB / 1.375 GB, free: 1.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.3954, allocations: 0 / 1.375 GB, free: 1.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005438/0.3959, allocations: 289.3 kB / 1.375 GB, free: 1.617 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/0.3959, allocations: 4 kB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3959, allocations: 4 kB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.396, allocations: 0 / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3962, allocations: 64.11 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.3962, allocations: 0 / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.3964, allocations: 27.86 kB / 1.375 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.3964, allocations: 12 kB / 1.375 GB, free: 1.508 MB / 1.061 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.0001292/0.3965, allocations: 192.1 kB / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.3966, allocations: 15.91 kB / 1.376 GB, free: 1.297 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/0.3971, allocations: 266.9 kB / 1.376 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3972, allocations: 8 kB / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3972, allocations: 4 kB / 1.376 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3972, allocations: 3.938 kB / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.3982, allocations: 0.5948 MB / 1.376 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3982, allocations: 0 / 1.376 GB, free: 372 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3984, allocations: 47.89 kB / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3984, allocations: 0 / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3984, allocations: 12.12 kB / 1.376 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3984, allocations: 0 / 1.376 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3984, allocations: 15.86 kB / 1.376 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.3991, allocations: 452 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3992, allocations: 27.89 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.3992, allocations: 11.98 kB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.3994, allocations: 15.98 kB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3995, allocations: 19.91 kB / 1.377 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3995, allocations: 8 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001186/0.3996, allocations: 132.8 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3996, allocations: 3.938 kB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004733/0.4001, allocations: 87.84 kB / 1.377 GB, free: 15.52 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 0.0001133/0.4002, allocations: 103.2 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000757/0.4009, allocations: 367.9 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4009, allocations: 0 / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.4012, allocations: 107.9 kB / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.4016, allocations: 35.72 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.4024, allocations: 451.3 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.4025, allocations: 127.9 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.4027, allocations: 77.41 kB / 1.378 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.4028, allocations: 19.44 kB / 1.378 GB, free: 14.2 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.4028, allocations: 0 / 1.378 GB, free: 14.2 MB / 1.076 GB Notification: Performance of Templates: time 0.006337/0.4091, allocations: 2.677 MB / 1.381 GB, free: 11.57 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.474330617114902]