Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00142/0.00142, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001764/0.001764, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9646/0.9646, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.987/1.987, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.62e-05, allocations: 8.094 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004012/0.004038, allocations: 2.668 MB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002399/0.006437, allocations: 1.57 MB / 0.7642 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.006607, allocations: 7.938 kB / 0.7642 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.007179, allocations: 144.3 kB / 0.7643 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.00761, allocations: 169.5 kB / 0.7645 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.00819, allocations: 228.2 kB / 0.7647 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.008613, allocations: 338.8 kB / 0.765 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.008891, allocations: 163 kB / 0.7652 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.00918, allocations: 188.5 kB / 0.7654 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.009473, allocations: 139.6 kB / 0.7655 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.009504, allocations: 20.91 kB / 0.7655 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.01004, allocations: 323.3 kB / 0.7658 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.01015, allocations: 100.5 kB / 0.7659 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.01023, allocations: 83.77 kB / 0.766 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.0108, allocations: 387.6 kB / 0.7664 GB, free: 156 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.0108, allocations: 0 / 0.7664 GB, free: 156 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.0108, allocations: 3.938 kB / 0.7664 GB, free: 152 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.01081, allocations: 0.6562 kB / 0.7664 GB, free: 152 kB / 0.7136 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.0006712/0.01148, allocations: 457.8 kB / 0.7668 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01152, allocations: 8.031 kB / 0.7668 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006053/0.01212, allocations: 147.8 kB / 0.767 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.01241, allocations: 194.8 kB / 0.7671 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.01242, allocations: 12.88 kB / 0.7672 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.01245, allocations: 16.38 kB / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.01274, allocations: 267.9 kB / 0.7674 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01275, allocations: 192 / 0.7674 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.01278, allocations: 14.8 kB / 0.7674 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.01281, allocations: 28.42 kB / 0.7675 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.01295, allocations: 91.31 kB / 0.7676 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.01437, allocations: 1.014 MB / 0.7685 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.01458, allocations: 182.6 kB / 0.7687 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.01463, allocations: 39.7 kB / 0.7688 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.01469, allocations: 11.98 kB / 0.7688 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.01472, allocations: 38.56 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 3.506e-06/0.01472, allocations: 3.984 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0006178/0.01534, allocations: 247.6 kB / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.01537, allocations: 82.77 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01549, allocations: 184 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01551, allocations: 33.69 kB / 0.7693 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.01558, allocations: 168.1 kB / 0.7695 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.01561, allocations: 59.52 kB / 0.7695 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.01567, allocations: 50.48 kB / 0.7696 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.01576, allocations: 330.8 kB / 0.7699 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.0158, allocations: 29.98 kB / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.01587, allocations: 93.36 kB / 0.77 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.016, allocations: 160.2 kB / 0.7702 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01601, allocations: 0 / 0.7702 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002933/0.0163, allocations: 209.4 kB / 0.7704 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01632, allocations: 9.188 kB / 0.7704 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01633, allocations: 4 kB / 0.7704 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.01659, allocations: 74.19 kB / 0.7705 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01672, allocations: 47.91 kB / 0.7705 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.01772, allocations: 1.73 MB / 0.7722 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.01782, allocations: 23.78 kB / 0.7722 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.01784, allocations: 12 kB / 0.7722 GB, free: 9.723 MB / 0.7292 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.01794, allocations: 128 kB / 0.7724 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.01799, allocations: 23.92 kB / 0.7724 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.01828, allocations: 158.3 kB / 0.7725 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01828, allocations: 11.02 kB / 0.7725 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01829, allocations: 3.938 kB / 0.7725 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.01829, allocations: 0 / 0.7725 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.01885, allocations: 0.5272 MB / 0.7731 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01885, allocations: 0 / 0.7731 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.01891, allocations: 31.89 kB / 0.7731 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.0191, allocations: 71.27 kB / 0.7732 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01912, allocations: 7.984 kB / 0.7732 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008302/0.01995, allocations: 1.735 MB / 0.7749 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01995, allocations: 0 / 0.7749 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.02056, allocations: 456.8 kB / 0.7753 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.02061, allocations: 31.83 kB / 0.7753 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.02063, allocations: 8 kB / 0.7753 GB, free: 6.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.53e-05/0.02073, allocations: 6.75 kB / 0.7753 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.02076, allocations: 23.84 kB / 0.7754 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.02077, allocations: 12 kB / 0.7754 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.02083, allocations: 57.8 kB / 0.7754 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.02083, allocations: 0 / 0.7754 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000315/0.02114, allocations: 75.83 kB / 0.7755 GB, free: 6.125 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.0213, allocations: 105.8 kB / 0.7756 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.02162, allocations: 241.2 kB / 0.7758 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.02163, allocations: 4 kB / 0.7758 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.02176, allocations: 177.7 kB / 0.776 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.02207, allocations: 40.25 kB / 0.776 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.02288, allocations: 490.1 kB / 0.7765 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.12e-05/0.02295, allocations: 96.3 kB / 0.7766 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.475e-05/0.02304, allocations: 22.98 kB / 0.7766 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.02314, allocations: 83.34 kB / 0.7767 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/0.02314, allocations: 4 kB / 0.7767 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of Templates: time 0.005856/0.02899, allocations: 3.157 MB / 0.7798 GB, free: 1.797 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1933071138337255]