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.001363/0.001363, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001486/0.001486, allocations: 161 kB / 23.82 MB, free: 0.75 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.9681/0.9681, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.924/1.924, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.302e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003634/0.003667, allocations: 2.631 MB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.005878, allocations: 1.555 MB / 0.7911 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.005999, allocations: 11.88 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.006598, allocations: 135.4 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.006925, allocations: 175 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.007359, allocations: 243 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.007697, allocations: 334.8 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.008008, allocations: 153.8 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.008264, allocations: 189.2 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.008536, allocations: 143.6 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.008573, allocations: 20 kB / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.008931, allocations: 315.3 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.009028, allocations: 92.89 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.009117, allocations: 83.77 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.0096, allocations: 390.8 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.009603, allocations: 0.7812 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.009604, allocations: 0 / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.00961, allocations: 1.344 kB / 0.7933 GB, free: 6.09 MB / 0.7448 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.0007209/0.01033, allocations: 0.5777 MB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.01038, allocations: 9.125 kB / 0.7939 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.01095, allocations: 164.5 kB / 0.7941 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01126, allocations: 220.2 kB / 0.7943 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.01128, allocations: 12.88 kB / 0.7943 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.01132, allocations: 24.36 kB / 0.7943 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.01167, allocations: 291.5 kB / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.01168, allocations: 192 / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.01171, allocations: 16.36 kB / 0.7946 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.01175, allocations: 24.95 kB / 0.7946 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.01196, allocations: 127.3 kB / 0.7947 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.01338, allocations: 1.39 MB / 0.7961 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.01365, allocations: 183.3 kB / 0.7963 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.01373, allocations: 51.36 kB / 0.7963 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.01379, allocations: 12.92 kB / 0.7963 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.01382, allocations: 33.39 kB / 0.7964 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01382, allocations: 0.7188 kB / 0.7964 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001229/0.01505, allocations: 0.5664 MB / 0.7969 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.01509, allocations: 81.11 kB / 0.797 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.01526, allocations: 255.3 kB / 0.7972 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01527, allocations: 31.92 kB / 0.7973 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.812e-05/0.01537, allocations: 223.2 kB / 0.7975 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.01542, allocations: 79.28 kB / 0.7976 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.0155, allocations: 75.23 kB / 0.7976 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.01564, allocations: 0.5079 MB / 0.7981 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.01572, allocations: 43.97 kB / 0.7982 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.01586, allocations: 172.5 kB / 0.7983 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.01609, allocations: 235.9 kB / 0.7986 GB, free: 372 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01609, allocations: 0 / 0.7986 GB, free: 372 kB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004482/0.01654, allocations: 344.5 kB / 0.7989 GB, free: 8 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.01655, allocations: 5.875 kB / 0.7989 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01656, allocations: 5.094 kB / 0.7989 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004121/0.01697, allocations: 140.3 kB / 0.799 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.01713, allocations: 55.91 kB / 0.7991 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.01958, allocations: 5.119 MB / 0.8041 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/0.01968, allocations: 15.98 kB / 0.8041 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.0197, allocations: 16.86 kB / 0.8041 GB, free: 10.34 MB / 0.7605 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.0001232/0.01982, allocations: 177.7 kB / 0.8043 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.01987, allocations: 29.08 kB / 0.8043 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.02032, allocations: 300.8 kB / 0.8046 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.02032, allocations: 0 / 0.8046 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.02033, allocations: 4 kB / 0.8046 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02033, allocations: 0 / 0.8046 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.02115, allocations: 0.7393 MB / 0.8053 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.02115, allocations: 4 kB / 0.8053 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.02122, allocations: 36.17 kB / 0.8054 GB, free: 8.938 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.02151, allocations: 134.5 kB / 0.8055 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.02152, allocations: 12 kB / 0.8055 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.02373, allocations: 5.104 MB / 0.8105 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.02373, allocations: 11.94 kB / 0.8105 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.02422, allocations: 0.5887 MB / 0.8111 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.02429, allocations: 51.86 kB / 0.8111 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.02431, allocations: 8 kB / 0.8111 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.02443, allocations: 15.98 kB / 0.8111 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.02447, allocations: 28.03 kB / 0.8112 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.02448, allocations: 15.92 kB / 0.8112 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.755e-05/0.02458, allocations: 180.1 kB / 0.8114 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02458, allocations: 0 / 0.8114 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003681/0.02495, allocations: 87.94 kB / 0.8114 GB, free: 2.316 MB / 0.7605 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.0002299/0.02518, allocations: 147 kB / 0.8116 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.02578, allocations: 0.5544 MB / 0.8121 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02578, allocations: 3.938 kB / 0.8121 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.02607, allocations: 455.2 kB / 0.8126 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.02642, allocations: 43.91 kB / 0.8126 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.02744, allocations: 0.5668 MB / 0.8132 GB, free: 420 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.02752, allocations: 108.2 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000102/0.02762, allocations: 54.23 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.02767, allocations: 24.5 kB / 0.8133 GB, free: 216 kB / 0.7605 GB Notification: Performance of SimCode: time 1.112e-06/0.02767, allocations: 0 / 0.8133 GB, free: 216 kB / 0.7605 GB Notification: Performance of Templates: time 0.006414/0.03408, allocations: 4.232 MB / 0.8175 GB, free: 12.04 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] 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","",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.561381660401821]