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.001386/0.001386, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001526/0.001526, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.261/3.261, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002123/0.002123, allocations: 63.84 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005192/0.386, allocations: 2.651 MB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.3887, allocations: 1.297 MB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.3889, allocations: 3.938 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008467/0.3897, allocations: 178.6 kB / 1.369 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.3902, allocations: 167.3 kB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.3907, allocations: 167.6 kB / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.3912, allocations: 279.2 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.3916, allocations: 113.5 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.3919, allocations: 123.6 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.3922, allocations: 127.6 kB / 1.37 GB, free: 8.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.3923, allocations: 16 kB / 1.37 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.3926, allocations: 135.7 kB / 1.37 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3927, allocations: 75.78 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3928, allocations: 75.59 kB / 1.37 GB, free: 8.184 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.3933, allocations: 298.9 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3933, allocations: 0 / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3933, allocations: 0 / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.3933, allocations: 0 / 1.37 GB, free: 7.891 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.0009284/0.3943, allocations: 429.5 kB / 1.371 GB, free: 7.438 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3943, allocations: 8.031 kB / 1.371 GB, free: 7.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.3948, allocations: 76.7 kB / 1.371 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.3952, allocations: 186.2 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3952, allocations: 20.58 kB / 1.371 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.3952, allocations: 12.38 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.3958, allocations: 360.1 kB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3958, allocations: 7.938 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.3959, allocations: 4 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.3959, allocations: 32.25 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.3964, allocations: 256.6 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.398, allocations: 1.095 MB / 1.373 GB, free: 5.285 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.3985, allocations: 249 kB / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.3988, allocations: 133.6 kB / 1.373 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3988, allocations: 7.938 kB / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3988, allocations: 30.56 kB / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.3988, allocations: 0 / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007933/0.3996, allocations: 341.3 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.3997, allocations: 77.11 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3999, allocations: 186.5 kB / 1.374 GB, free: 4.215 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3999, allocations: 29.7 kB / 1.374 GB, free: 4.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4, allocations: 144.1 kB / 1.374 GB, free: 4.035 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.4001, allocations: 55.58 kB / 1.374 GB, free: 3.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.4002, allocations: 45.66 kB / 1.374 GB, free: 3.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4003, allocations: 330.8 kB / 1.374 GB, free: 3.598 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.4005, allocations: 112.8 kB / 1.374 GB, free: 3.484 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.4008, allocations: 199.2 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.4013, allocations: 298.6 kB / 1.375 GB, free: 2.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4013, allocations: 4 kB / 1.375 GB, free: 2.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006003/0.4019, allocations: 315.6 kB / 1.375 GB, free: 2.625 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.402, allocations: 8 kB / 1.375 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.402, allocations: 0 / 1.375 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.402, allocations: 4 kB / 1.375 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.4023, allocations: 55.94 kB / 1.375 GB, free: 2.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4023, allocations: 7.938 kB / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4025, allocations: 35.81 kB / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.4025, allocations: 16.22 kB / 1.375 GB, free: 2.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002845/0.4028, allocations: 197.1 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002715/0.403, allocations: 181.4 kB / 1.375 GB, free: 2.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004394/0.4035, allocations: 262.5 kB / 1.376 GB, free: 1.812 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.4035, allocations: 0 / 1.376 GB, free: 1.812 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005332/0.404, allocations: 292 kB / 1.376 GB, free: 1.523 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.404, allocations: 8 kB / 1.376 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.404, allocations: 224 / 1.376 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.229e-06/0.404, allocations: 8 kB / 1.376 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.4043, allocations: 51.95 kB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4043, allocations: 7.938 kB / 1.376 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4045, allocations: 27.86 kB / 1.376 GB, free: 1.422 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4045, allocations: 8 kB / 1.376 GB, free: 1.414 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.000134/0.4046, allocations: 188.2 kB / 1.376 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.4047, allocations: 15.91 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/0.4052, allocations: 278.8 kB / 1.377 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4052, allocations: 3.984 kB / 1.377 GB, free: 0.918 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4053, allocations: 4 kB / 1.377 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4053, allocations: 3.938 kB / 1.377 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.4063, allocations: 0.5871 MB / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4063, allocations: 0 / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.4065, allocations: 43.95 kB / 1.377 GB, free: 236 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.4065, allocations: 12.06 kB / 1.377 GB, free: 224 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4065, allocations: 7.938 kB / 1.377 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4066, allocations: 8 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4066, allocations: 3.938 kB / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.4072, allocations: 449.9 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4073, allocations: 39.86 kB / 1.378 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.4074, allocations: 8 kB / 1.378 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.4076, allocations: 15.97 kB / 1.378 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.4076, allocations: 23.92 kB / 1.378 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4076, allocations: 4 kB / 1.378 GB, free: 15.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001203/0.4078, allocations: 136.8 kB / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4078, allocations: 0 / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004825/0.4082, allocations: 83.84 kB / 1.378 GB, free: 15.43 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.000118/0.4084, allocations: 103.1 kB / 1.378 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000788/0.4091, allocations: 361.9 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4091, allocations: 0 / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.4094, allocations: 111.8 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.4099, allocations: 42.09 kB / 1.379 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008825/0.4107, allocations: 488.2 kB / 1.379 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.4109, allocations: 131.9 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.411, allocations: 19.44 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.411, allocations: 0 / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of Templates: time 0.004947/0.4159, allocations: 2.683 MB / 1.382 GB, free: 11.46 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/jenkins1/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: 11.702622788958251]