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.001339/0.001339, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001666/0.001666, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.287/3.287, allocations: 0.505 GB / 0.8108 GB, free: 22 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.002078/0.002078, allocations: 66.12 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3893, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004877/0.3942, allocations: 2.745 MB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3966, allocations: 1.395 MB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3967, allocations: 7.938 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.3975, allocations: 179.3 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.3979, allocations: 175.2 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.3983, allocations: 167.6 kB / 1.359 GB, free: 3.262 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.3987, allocations: 283.1 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.399, allocations: 113.5 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3993, allocations: 115.6 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.3997, allocations: 139.5 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.3997, allocations: 16 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.4, allocations: 159.6 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4001, allocations: 67.81 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.4003, allocations: 91.52 kB / 1.36 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.4007, allocations: 306.8 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4007, allocations: 0 / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4008, allocations: 0 / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.4008, allocations: 0 / 1.36 GB, free: 1.996 MB / 1.045 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.001025/0.4018, allocations: 425.5 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.4018, allocations: 16.03 kB / 1.36 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005813/0.4024, allocations: 68.72 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.4028, allocations: 187.4 kB / 1.361 GB, free: 1.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4028, allocations: 8.656 kB / 1.361 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.4029, allocations: 20.31 kB / 1.361 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.4035, allocations: 308.9 kB / 1.361 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4035, allocations: 3.938 kB / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.4036, allocations: 15.97 kB / 1.361 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.4036, allocations: 28.27 kB / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.4041, allocations: 256.6 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.4061, allocations: 1.49 MB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.4066, allocations: 243.4 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.4069, allocations: 125.6 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.4069, allocations: 4 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4069, allocations: 30.56 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.4069, allocations: 3.938 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0008454/0.4078, allocations: 345.3 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.4078, allocations: 81.23 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.408, allocations: 182.7 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.4081, allocations: 25.7 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.4082, allocations: 144.2 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.4082, allocations: 55.53 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.382e-05/0.4083, allocations: 45.66 kB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4085, allocations: 326.8 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.4088, allocations: 120.8 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.409, allocations: 172.9 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.4095, allocations: 286.7 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4095, allocations: 8 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005887/0.4101, allocations: 318.8 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4102, allocations: 11.94 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4102, allocations: 3.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4102, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.4105, allocations: 56.17 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4105, allocations: 7.938 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.4107, allocations: 31.86 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.4107, allocations: 8 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002887/0.411, allocations: 204 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002428/0.4113, allocations: 151.7 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004246/0.4117, allocations: 260.9 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/0.4117, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005238/0.4122, allocations: 285.2 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.4122, allocations: 12.22 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.4122, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.4122, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.4125, allocations: 47.95 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4125, allocations: 7.938 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.4126, allocations: 27.88 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4127, allocations: 8 kB / 1.366 GB, free: 11.18 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.0001374/0.4128, allocations: 196.2 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.4129, allocations: 19.91 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.4134, allocations: 269.2 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4134, allocations: 4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4134, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4134, allocations: 3.984 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4145, allocations: 0.6566 MB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4145, allocations: 7.938 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.4147, allocations: 51.95 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4147, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.4147, allocations: 7.938 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4147, allocations: 7.922 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4148, allocations: 4 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.4153, allocations: 442.2 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.4154, allocations: 51.75 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.4155, allocations: 3.938 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4157, allocations: 23.97 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.4157, allocations: 7.984 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4157, allocations: 4 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001244/0.4159, allocations: 139.2 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4159, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004582/0.4163, allocations: 79.89 kB / 1.368 GB, free: 9.121 MB / 1.061 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.0001288/0.4164, allocations: 107.2 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007483/0.4172, allocations: 372.2 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4172, allocations: 0 / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.4174, allocations: 111.9 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.4179, allocations: 40.47 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.4187, allocations: 480.6 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.4191, allocations: 0.7441 MB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/0.4192, allocations: 23.42 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4192, allocations: 0 / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of Templates: time 0.004802/0.424, allocations: 2.627 MB / 1.372 GB, free: 4.574 MB / 1.061 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.878120391018456]