Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001675/0.001675, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001973/0.001973, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.541/1.541, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.68/2.68, allocations: 443.5 MB / 0.7293 GB, free: 14.7 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 1.057 GB, free: 2.16 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.363, allocations: 160.7 MB / 1.214 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00531/0.3683, allocations: 3.107 MB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003402/0.3717, allocations: 1.956 MB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3719, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.3729, allocations: 274.9 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005209/0.3734, allocations: 199.1 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.3741, allocations: 255 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.3746, allocations: 318.9 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.3749, allocations: 153 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.3751, allocations: 135.5 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.3755, allocations: 159.4 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.3755, allocations: 23.94 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.3763, allocations: 415.2 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3764, allocations: 87.73 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3765, allocations: 123.4 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.3773, allocations: 486.4 kB / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3773, allocations: 0 / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3773, allocations: 7.938 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3773, allocations: 3.984 kB / 1.222 GB, free: 9.43 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00105/0.3783, allocations: 0.5646 MB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3784, allocations: 8.031 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008347/0.3792, allocations: 108.6 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.3797, allocations: 271.9 kB / 1.222 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3797, allocations: 12.81 kB / 1.222 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.3798, allocations: 20.36 kB / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.3804, allocations: 353.5 kB / 1.223 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3804, allocations: 3.984 kB / 1.223 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3804, allocations: 19.98 kB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/0.3805, allocations: 24.42 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.381, allocations: 297.5 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.3836, allocations: 1.726 MB / 1.225 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.3843, allocations: 325.5 kB / 1.225 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3844, allocations: 101.9 kB / 1.225 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.3846, allocations: 93.03 kB / 1.225 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3846, allocations: 34.5 kB / 1.225 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.3846, allocations: 0 / 1.225 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002766/0.3874, allocations: 0.9718 MB / 1.226 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.3875, allocations: 85.05 kB / 1.226 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.3877, allocations: 215.8 kB / 1.227 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3878, allocations: 29.7 kB / 1.227 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3879, allocations: 176.4 kB / 1.227 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.388, allocations: 83.31 kB / 1.227 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3881, allocations: 57.7 kB / 1.227 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3883, allocations: 330.8 kB / 1.227 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3885, allocations: 131.9 kB / 1.227 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.3888, allocations: 221.9 kB / 1.228 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.3893, allocations: 364.1 kB / 1.228 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3893, allocations: 0 / 1.228 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009838/0.3903, allocations: 0.5081 MB / 1.228 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.3903, allocations: 8 kB / 1.228 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3904, allocations: 8.078 kB / 1.228 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/0.391, allocations: 155.6 kB / 1.229 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.3913, allocations: 63.84 kB / 1.229 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.396, allocations: 4.19 MB / 1.233 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.3962, allocations: 19.97 kB / 1.233 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.3962, allocations: 16 kB / 1.233 GB, free: 13.04 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.3965, allocations: 173.7 kB / 1.233 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.3966, allocations: 23.86 kB / 1.233 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3976, allocations: 468.3 kB / 1.233 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3976, allocations: 8 kB / 1.233 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3977, allocations: 0 / 1.233 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.3977, allocations: 3.984 kB / 1.233 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.3996, allocations: 0.9998 MB / 1.234 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3996, allocations: 0 / 1.234 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3998, allocations: 31.98 kB / 1.234 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/0.4002, allocations: 147.5 kB / 1.235 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.4003, allocations: 8 kB / 1.235 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/0.4042, allocations: 4.155 MB / 1.239 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.4042, allocations: 7.938 kB / 1.239 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.4052, allocations: 0.6095 MB / 1.239 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.4053, allocations: 128.9 kB / 1.239 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.4054, allocations: 11.94 kB / 1.239 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.4056, allocations: 27.91 kB / 1.239 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4057, allocations: 19.98 kB / 1.239 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.4057, allocations: 8 kB / 1.239 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001975/0.4059, allocations: 156.2 kB / 1.24 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 0 / 1.24 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006104/0.4065, allocations: 91.88 kB / 1.24 GB, free: 5.457 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003244/0.4068, allocations: 141.4 kB / 1.24 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.408, allocations: 0.574 MB / 1.24 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.408, allocations: 0 / 1.24 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.4086, allocations: 393 kB / 1.241 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.4091, allocations: 62.56 kB / 1.241 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.4105, allocations: 0.6661 MB / 1.241 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.4111, allocations: 0.7831 MB / 1.242 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.4111, allocations: 23.44 kB / 1.242 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.4111, allocations: 0 / 1.242 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.01323/0.4244, allocations: 7.645 MB / 1.25 GB, free: 11.04 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 13.323846678016707]