Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001991/0.001991, 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.002443/0.002443, allocations: 210.5 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.002203/0.002203, allocations: 68.11 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3995, allocations: 169.9 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005444/0.405, allocations: 3.069 MB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.4086, allocations: 1.877 MB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.4087, allocations: 7.938 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.4097, allocations: 283.5 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.4102, allocations: 195.1 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.411, allocations: 258.8 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.4114, allocations: 322.9 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.4118, allocations: 149.1 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.412, allocations: 139.5 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.4123, allocations: 147.4 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.4124, allocations: 20 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.4131, allocations: 379.3 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.4132, allocations: 87.73 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.4133, allocations: 107.5 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.4141, allocations: 498.3 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4141, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4141, allocations: 3.938 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.4141, allocations: 4 kB / 1.29 GB, free: 4.426 MB / 0.9825 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.0009702/0.415, allocations: 0.497 MB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4151, allocations: 8.031 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/0.4159, allocations: 112.7 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.4163, allocations: 208.6 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.4164, allocations: 20.78 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.4164, allocations: 16.38 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.417, allocations: 408.4 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.417, allocations: 0 / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.4171, allocations: 12 kB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.4171, allocations: 24.42 kB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.4176, allocations: 293.5 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.4197, allocations: 1.237 MB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.4202, allocations: 241 kB / 1.293 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.4204, allocations: 101.7 kB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-05/0.4204, allocations: 8 kB / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4205, allocations: 38.5 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.4205, allocations: 0 / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002551/0.423, allocations: 0.893 MB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.4231, allocations: 81.11 kB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.4234, allocations: 216.9 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.4234, allocations: 33.7 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.4236, allocations: 168.5 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.4236, allocations: 87.25 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4238, allocations: 65.69 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4239, allocations: 326.8 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4241, allocations: 135.9 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.4244, allocations: 217.8 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.425, allocations: 364.1 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.425, allocations: 0 / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009175/0.4259, allocations: 0.512 MB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4259, allocations: 10.5 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4259, allocations: 4 kB / 1.296 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.4265, allocations: 155.6 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.4268, allocations: 55.91 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.4304, allocations: 3.938 MB / 1.3 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.4306, allocations: 15.98 kB / 1.3 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.4306, allocations: 8 kB / 1.301 GB, free: 9.387 MB / 0.9981 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.0001983/0.4308, allocations: 173.7 kB / 1.301 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.4309, allocations: 23.78 kB / 1.301 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009222/0.4318, allocations: 470.6 kB / 1.301 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4318, allocations: 4 kB / 1.301 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.4318, allocations: 7.922 kB / 1.301 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4318, allocations: 4 kB / 1.301 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.4334, allocations: 0.8902 MB / 1.302 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4334, allocations: 0 / 1.302 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.4336, allocations: 31.98 kB / 1.302 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.434, allocations: 151.5 kB / 1.302 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.434, allocations: 7.984 kB / 1.302 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/0.4374, allocations: 3.907 MB / 1.306 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.4374, allocations: 7.938 kB / 1.306 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.4383, allocations: 0.6177 MB / 1.307 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4385, allocations: 43.84 kB / 1.307 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.4385, allocations: 11.98 kB / 1.307 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.4387, allocations: 20.14 kB / 1.307 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.4388, allocations: 27.84 kB / 1.307 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.4388, allocations: 12 kB / 1.307 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001665/0.439, allocations: 155.3 kB / 1.307 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.439, allocations: 0 / 1.307 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005268/0.4395, allocations: 91.94 kB / 1.307 GB, free: 2.332 MB / 0.9981 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.0002443/0.4397, allocations: 143.1 kB / 1.307 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.4408, allocations: 0.5665 MB / 1.308 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4408, allocations: 0 / 1.308 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.4414, allocations: 402.3 kB / 1.308 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.4419, allocations: 51.81 kB / 1.308 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4431, allocations: 0.6433 MB / 1.309 GB, free: 444 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.4433, allocations: 165.2 kB / 1.309 GB, free: 264 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.4435, allocations: 58.23 kB / 1.309 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.4435, allocations: 23.44 kB / 1.309 GB, free: 180 kB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.4435, allocations: 0 / 1.309 GB, free: 180 kB / 0.9981 GB Notification: Performance of Templates: time 0.009763/0.4533, allocations: 4.392 MB / 1.313 GB, free: 11.84 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.41292873583734]