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.00104/0.00104, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001021/0.001021, allocations: 169 kB / 23.27 MB, free: 1.227 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.9094/0.9094, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 2.227/2.227, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.666e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006815/0.006842, allocations: 2.615 MB / 0.8923 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005083/0.01193, allocations: 1.534 MB / 0.8938 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.01205, allocations: 7.938 kB / 0.8938 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.01251, allocations: 139.3 kB / 0.8939 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.01284, allocations: 171 kB / 0.8941 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.01331, allocations: 258.9 kB / 0.8943 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.01363, allocations: 338.8 kB / 0.8946 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003281/0.01691, allocations: 149 kB / 0.8948 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.01718, allocations: 183.6 kB / 0.895 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.01742, allocations: 143.6 kB / 0.8951 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.01746, allocations: 24 kB / 0.8951 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.01791, allocations: 323.2 kB / 0.8954 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.01799, allocations: 87.73 kB / 0.8955 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.01807, allocations: 91.75 kB / 0.8956 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.01851, allocations: 378.8 kB / 0.896 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01851, allocations: 0 / 0.896 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01851, allocations: 0 / 0.896 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.01852, allocations: 3.938 kB / 0.896 GB, free: 3.348 MB / 0.8542 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.0005841/0.0191, allocations: 0.5773 MB / 0.8965 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.01913, allocations: 8.031 kB / 0.8965 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.02274, allocations: 156.5 kB / 0.8967 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.02299, allocations: 200.2 kB / 0.8969 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.02301, allocations: 12.88 kB / 0.8969 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.02304, allocations: 20.38 kB / 0.8969 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.02334, allocations: 278 kB / 0.8972 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.02335, allocations: 192 / 0.8972 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.02337, allocations: 8.375 kB / 0.8972 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.02341, allocations: 32.42 kB / 0.8972 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.02357, allocations: 103.3 kB / 0.8973 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.02498, allocations: 1.371 MB / 0.8986 GB, free: 432 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.02519, allocations: 156.7 kB / 0.8988 GB, free: 252 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.02525, allocations: 43.62 kB / 0.8988 GB, free: 200 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.0253, allocations: 19.92 kB / 0.8989 GB, free: 180 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.02532, allocations: 37.39 kB / 0.8989 GB, free: 132 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.02532, allocations: 3.984 kB / 0.8989 GB, free: 128 kB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.004162/0.02948, allocations: 473.4 kB / 0.8993 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.02952, allocations: 85.05 kB / 0.8994 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.02967, allocations: 254 kB / 0.8997 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.02969, allocations: 25.7 kB / 0.8997 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.02978, allocations: 231.1 kB / 0.8999 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.02984, allocations: 87.25 kB / 0.9 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.02992, allocations: 67.33 kB / 0.9001 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.03005, allocations: 0.5039 MB / 0.9006 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.03011, allocations: 43.95 kB / 0.9006 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.03023, allocations: 146.6 kB / 0.9007 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.03043, allocations: 212.4 kB / 0.9009 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.03043, allocations: 3.938 kB / 0.9009 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004631/0.03089, allocations: 323.5 kB / 0.9013 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.03091, allocations: 10.19 kB / 0.9013 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.03092, allocations: 4 kB / 0.9013 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.03131, allocations: 142.7 kB / 0.9014 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.03147, allocations: 55.91 kB / 0.9015 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.03589, allocations: 6.019 MB / 0.9073 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.036, allocations: 8 kB / 0.9073 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.03602, allocations: 19.92 kB / 0.9074 GB, free: 6.859 MB / 0.8698 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.03613, allocations: 168.5 kB / 0.9075 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.03619, allocations: 28 kB / 0.9075 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.03662, allocations: 293.9 kB / 0.9078 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.03663, allocations: 3.938 kB / 0.9078 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.03663, allocations: 4 kB / 0.9078 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.03663, allocations: 3.984 kB / 0.9078 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.03747, allocations: 0.6812 MB / 0.9085 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.03747, allocations: 7.938 kB / 0.9085 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.03755, allocations: 31.92 kB / 0.9085 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.03787, allocations: 138.8 kB / 0.9087 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.03789, allocations: 8 kB / 0.9087 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.04082, allocations: 6.061 MB / 0.9146 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.04082, allocations: 4 kB / 0.9146 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.04133, allocations: 0.5928 MB / 0.9152 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.0414, allocations: 39.83 kB / 0.9152 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.04142, allocations: 8 kB / 0.9152 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.04157, allocations: 15.98 kB / 0.9152 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.04162, allocations: 31.83 kB / 0.9153 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.04164, allocations: 12 kB / 0.9153 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.4e-05/0.04172, allocations: 164.4 kB / 0.9154 GB, free: 14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.04172, allocations: 0 / 0.9154 GB, free: 14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004789/0.0422, allocations: 103.9 kB / 0.9155 GB, free: 13.89 MB / 0.8855 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001925/0.04239, allocations: 147 kB / 0.9157 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000569/0.04296, allocations: 0.6879 MB / 0.9164 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.04296, allocations: 7.938 kB / 0.9164 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.04329, allocations: 0.5813 MB / 0.9169 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.04372, allocations: 48.83 kB / 0.917 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.04467, allocations: 0.5719 MB / 0.9175 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.831e-05/0.04476, allocations: 108.3 kB / 0.9176 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.505e-05/0.04486, allocations: 34.28 kB / 0.9177 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.04497, allocations: 106.2 kB / 0.9178 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.04497, allocations: 0 / 0.9178 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.007942/0.05291, allocations: 4.76 MB / 0.9224 GB, free: 6.699 MB / 0.8855 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.137522295117378]