Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001974/0.001974, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001929/0.001929, allocations: 212.9 kB / 22.24 MB, free: 4.855 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.627/1.627, 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.504/3.504, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.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_latest_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_latest_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.002146/0.002146, allocations: 61.34 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006039/0.4011, allocations: 3.057 MB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003631/0.4047, allocations: 1.885 MB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.4049, allocations: 7.938 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.406, allocations: 282.9 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.4067, allocations: 199.1 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.4074, allocations: 255.2 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000483/0.4079, allocations: 314.9 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.4082, allocations: 153.1 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.4085, allocations: 143.5 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.4088, allocations: 147.4 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.4088, allocations: 20 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.4095, allocations: 375.3 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.4096, allocations: 87.72 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.4098, allocations: 103.5 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007045/0.4105, allocations: 0.4906 MB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4105, allocations: 0 / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4105, allocations: 0 / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4105, allocations: 4 kB / 1.371 GB, free: 6.117 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001001/0.4115, allocations: 0.4932 MB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4115, allocations: 12.03 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.4123, allocations: 112.6 kB / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.4128, allocations: 208.3 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4128, allocations: 16.81 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.4128, allocations: 20.38 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.4134, allocations: 404.4 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4135, allocations: 0 / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.4135, allocations: 12 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.4135, allocations: 20.42 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.414, allocations: 297.5 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.4161, allocations: 1.233 MB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.4166, allocations: 233 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.4167, allocations: 97.67 kB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.4168, allocations: 11.98 kB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.4168, allocations: 42.5 kB / 1.374 GB, free: 2.762 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.4168, allocations: 4 kB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002519/0.4194, allocations: 0.9084 MB / 1.375 GB, free: 1.832 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.4194, allocations: 85.05 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.4197, allocations: 214.4 kB / 1.375 GB, free: 1.508 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.4197, allocations: 29.7 kB / 1.375 GB, free: 1.473 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.4198, allocations: 172.5 kB / 1.376 GB, free: 1.297 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.4199, allocations: 87.3 kB / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.42, allocations: 65.64 kB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4202, allocations: 330.8 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4204, allocations: 131.9 kB / 1.376 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.4207, allocations: 213.2 kB / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.4212, allocations: 368.4 kB / 1.377 GB, free: 48 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4212, allocations: 0 / 1.377 GB, free: 48 kB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009379/0.4221, allocations: 0.5085 MB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4222, allocations: 12 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.4222, allocations: 0 / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.4227, allocations: 147.3 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.423, allocations: 55.91 kB / 1.377 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.4267, allocations: 3.938 MB / 1.381 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.4269, allocations: 24.08 kB / 1.381 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.427, allocations: 11.98 kB / 1.381 GB, free: 11.06 MB / 1.076 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.000217/0.4272, allocations: 163.6 kB / 1.381 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.4273, allocations: 27.8 kB / 1.382 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000936/0.4282, allocations: 463.5 kB / 1.382 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4282, allocations: 4 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4282, allocations: 7.938 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4282, allocations: 3.984 kB / 1.382 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.43, allocations: 0.8942 MB / 1.383 GB, free: 9.418 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4301, allocations: 4 kB / 1.383 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.4302, allocations: 35.97 kB / 1.383 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.4306, allocations: 143.2 kB / 1.383 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4306, allocations: 8 kB / 1.383 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.4344, allocations: 3.895 MB / 1.387 GB, free: 5.066 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4344, allocations: 3.938 kB / 1.387 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009508/0.4354, allocations: 0.6259 MB / 1.387 GB, free: 4.383 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.4355, allocations: 47.88 kB / 1.387 GB, free: 4.336 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.4355, allocations: 11.98 kB / 1.388 GB, free: 4.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.4358, allocations: 15.98 kB / 1.388 GB, free: 4.309 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.4358, allocations: 35.78 kB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.4358, allocations: 8 kB / 1.388 GB, free: 4.266 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001715/0.436, allocations: 156.2 kB / 1.388 GB, free: 4.113 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.436, allocations: 0 / 1.388 GB, free: 4.113 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006067/0.4366, allocations: 95.94 kB / 1.388 GB, free: 4.02 MB / 1.076 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.000245/0.4369, allocations: 139 kB / 1.388 GB, free: 3.871 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.4379, allocations: 0.5714 MB / 1.388 GB, free: 3.273 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.4379, allocations: 4 kB / 1.388 GB, free: 3.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.4385, allocations: 385.1 kB / 1.389 GB, free: 2.867 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.439, allocations: 47.05 kB / 1.389 GB, free: 2.828 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.4403, allocations: 0.6294 MB / 1.39 GB, free: 2.148 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.4405, allocations: 169.2 kB / 1.39 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.4407, allocations: 66.23 kB / 1.39 GB, free: 1.895 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.4408, allocations: 27.42 kB / 1.39 GB, free: 1.867 MB / 1.076 GB Notification: Performance of SimCode: time 8.51e-07/0.4408, allocations: 0 / 1.39 GB, free: 1.867 MB / 1.076 GB Notification: Performance of Templates: time 0.009844/0.4506, allocations: 4.386 MB / 1.394 GB, free: 13.53 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.790748508647084]