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.000919/0.000919, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008314/0.0008314, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8878/0.8878, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.648/1.648, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.901e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003708/0.003737, allocations: 3.03 MB / 0.9547 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.005974, allocations: 1.869 MB / 0.9565 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.006141, allocations: 12 kB / 0.9565 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.006836, allocations: 282.8 kB / 0.9568 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.007278, allocations: 198.8 kB / 0.957 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.007828, allocations: 265.7 kB / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.008167, allocations: 330.8 kB / 0.9575 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.008458, allocations: 149.1 kB / 0.9577 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.008705, allocations: 187.5 kB / 0.9578 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.00894, allocations: 139.6 kB / 0.958 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.008971, allocations: 20 kB / 0.958 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.009448, allocations: 387 kB / 0.9584 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.00954, allocations: 87.73 kB / 0.9585 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.009612, allocations: 87.75 kB / 0.9585 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.01017, allocations: 0.5219 MB / 0.959 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01018, allocations: 0 / 0.959 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.794e-06/0.01018, allocations: 0 / 0.959 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.01018, allocations: 3.938 kB / 0.9591 GB, free: 11.44 MB / 0.9167 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.0007582/0.01094, allocations: 0.4911 MB / 0.9595 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.01098, allocations: 8.031 kB / 0.9595 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.01146, allocations: 112.6 kB / 0.9596 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.01173, allocations: 209.4 kB / 0.9598 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.01174, allocations: 12.88 kB / 0.9599 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.01177, allocations: 20.38 kB / 0.9599 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.01218, allocations: 404.8 kB / 0.9603 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01219, allocations: 4.188 kB / 0.9603 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.01221, allocations: 12.3 kB / 0.9603 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.01225, allocations: 32.42 kB / 0.9603 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.01255, allocations: 293.7 kB / 0.9606 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.01383, allocations: 1.23 MB / 0.9618 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.01413, allocations: 245 kB / 0.962 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.01423, allocations: 101.7 kB / 0.9621 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.756e-05/0.01429, allocations: 11.98 kB / 0.9621 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01431, allocations: 34.56 kB / 0.9622 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.01432, allocations: 0 / 0.9622 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001654/0.01597, allocations: 0.8955 MB / 0.963 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.01602, allocations: 85.14 kB / 0.9631 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.01621, allocations: 216.3 kB / 0.9633 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01623, allocations: 33.7 kB / 0.9634 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.01633, allocations: 172.4 kB / 0.9635 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.01637, allocations: 79.34 kB / 0.9636 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.01645, allocations: 65.64 kB / 0.9637 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.01655, allocations: 330.8 kB / 0.964 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.01669, allocations: 131.8 kB / 0.9641 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.01687, allocations: 214.2 kB / 0.9643 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.01719, allocations: 363.2 kB / 0.9647 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01719, allocations: 0 / 0.9647 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005916/0.01778, allocations: 0.5043 MB / 0.9651 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.0178, allocations: 8 kB / 0.9652 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.01781, allocations: 4 kB / 0.9652 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.01818, allocations: 155.6 kB / 0.9653 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.01835, allocations: 55.91 kB / 0.9654 GB, free: 4.633 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.0206, allocations: 3.938 MB / 0.9692 GB, free: 444 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.02074, allocations: 20.02 kB / 0.9692 GB, free: 424 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.02075, allocations: 8 kB / 0.9692 GB, free: 416 kB / 0.9167 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.0001777/0.02093, allocations: 170.8 kB / 0.9694 GB, free: 236 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.02097, allocations: 24.11 kB / 0.9694 GB, free: 212 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.02161, allocations: 471.2 kB / 0.9699 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02161, allocations: 4 kB / 0.9699 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.02161, allocations: 4 kB / 0.9699 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.02162, allocations: 3.984 kB / 0.9699 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.02272, allocations: 0.8902 MB / 0.9707 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.02272, allocations: 3.984 kB / 0.9708 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.0228, allocations: 31.98 kB / 0.9708 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.02304, allocations: 139.5 kB / 0.9709 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.02306, allocations: 12 kB / 0.9709 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.025, allocations: 3.907 MB / 0.9747 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.02501, allocations: 7.938 kB / 0.9748 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.02554, allocations: 0.624 MB / 0.9754 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.02562, allocations: 43.84 kB / 0.9754 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.87e-05/0.02564, allocations: 7.984 kB / 0.9754 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.02576, allocations: 19.98 kB / 0.9754 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.0258, allocations: 23.91 kB / 0.9755 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.02582, allocations: 20.03 kB / 0.9755 GB, free: 9.602 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001082/0.02593, allocations: 155 kB / 0.9756 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02593, allocations: 0 / 0.9756 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004014/0.02633, allocations: 91.88 kB / 0.9757 GB, free: 9.359 MB / 0.9323 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.0002364/0.02657, allocations: 151 kB / 0.9758 GB, free: 9.199 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006721/0.02724, allocations: 0.5595 MB / 0.9764 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.02724, allocations: 0 / 0.9764 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.02752, allocations: 390.2 kB / 0.9768 GB, free: 8.207 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.02789, allocations: 48.03 kB / 0.9768 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008297/0.02872, allocations: 0.637 MB / 0.9774 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.02885, allocations: 180.9 kB / 0.9776 GB, free: 7.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.0289, allocations: 24.5 kB / 0.9776 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of SimCode: time 1.533e-06/0.0289, allocations: 0 / 0.9776 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of Templates: time 0.007411/0.03631, allocations: 7.802 MB / 0.9853 GB, free: 15.44 MB / 0.948 GB " [Timeout remaining time 300] 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: 7.416483147069812]