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.00149/0.00149, allocations: 80.36 kB / 19.18 MB, free: 2.531 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.001776/0.001776, allocations: 167.2 kB / 22.46 MB, free: 5.355 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 2.745/2.745, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 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.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.583e-06/1.583e-06, allocations: 0 / 0.9509 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.813e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005308/0.005336, allocations: 3.036 MB / 0.9539 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.008977, allocations: 1.869 MB / 0.9557 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.009161, allocations: 7.938 kB / 0.9557 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.01022, allocations: 274.9 kB / 0.956 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.01082, allocations: 206.8 kB / 0.9562 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.01162, allocations: 262.6 kB / 0.9564 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.01216, allocations: 338.8 kB / 0.9568 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.01252, allocations: 153 kB / 0.9569 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.01288, allocations: 183.5 kB / 0.9571 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.01323, allocations: 143.6 kB / 0.9572 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.01328, allocations: 20 kB / 0.9572 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.01406, allocations: 383 kB / 0.9576 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.01419, allocations: 91.73 kB / 0.9577 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.01433, allocations: 79.83 kB / 0.9578 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009231/0.01525, allocations: 0.5258 MB / 0.9583 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01526, allocations: 0 / 0.9583 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01526, allocations: 0 / 0.9583 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.01527, allocations: 0 / 0.9583 GB, free: 4.109 MB / 0.8575 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.001084/0.01636, allocations: 0.4971 MB / 0.9588 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.0164, allocations: 12.03 kB / 0.9588 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.01726, allocations: 108.7 kB / 0.9589 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.01769, allocations: 209.3 kB / 0.9591 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.01771, allocations: 12.88 kB / 0.9591 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.01777, allocations: 16.38 kB / 0.9591 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.01843, allocations: 408.8 kB / 0.9595 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01845, allocations: 192 / 0.9595 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.01848, allocations: 8.375 kB / 0.9595 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/0.01854, allocations: 28.42 kB / 0.9595 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.01907, allocations: 297.8 kB / 0.9598 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.02121, allocations: 1.226 MB / 0.961 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.02172, allocations: 248.9 kB / 0.9613 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.0219, allocations: 105.6 kB / 0.9614 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.669e-05/0.02199, allocations: 7.984 kB / 0.9614 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.02202, allocations: 38.56 kB / 0.9614 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.02202, allocations: 0 / 0.9614 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.00273/0.02475, allocations: 0.8884 MB / 0.9623 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.02481, allocations: 81.11 kB / 0.9624 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.02507, allocations: 212 kB / 0.9626 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.0251, allocations: 33.7 kB / 0.9626 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.02525, allocations: 176.4 kB / 0.9628 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.02532, allocations: 79.28 kB / 0.9628 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.02544, allocations: 69.64 kB / 0.9629 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.02564, allocations: 330.8 kB / 0.9632 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.02586, allocations: 131.9 kB / 0.9633 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.02616, allocations: 209.3 kB / 0.9635 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.02677, allocations: 368 kB / 0.9639 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.02677, allocations: 0 / 0.9639 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000999/0.02777, allocations: 0.5043 MB / 0.9644 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.02779, allocations: 8 kB / 0.9644 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.0278, allocations: 0 / 0.9644 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.02838, allocations: 155.6 kB / 0.9645 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.02864, allocations: 55.91 kB / 0.9646 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.0327, allocations: 3.93 MB / 0.9684 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.03292, allocations: 19.98 kB / 0.9684 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.03294, allocations: 8 kB / 0.9685 GB, free: 9.094 MB / 0.8731 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.000232/0.03317, allocations: 170 kB / 0.9686 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.03326, allocations: 23.86 kB / 0.9686 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000977/0.03423, allocations: 479.3 kB / 0.9691 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.03424, allocations: 3.984 kB / 0.9691 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.03424, allocations: 4 kB / 0.9691 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.03425, allocations: 0 / 0.9691 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.03593, allocations: 0.8902 MB / 0.97 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.03594, allocations: 4 kB / 0.97 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.03607, allocations: 35.92 kB / 0.97 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.03648, allocations: 143.6 kB / 0.9701 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.03651, allocations: 16.08 kB / 0.9702 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.04004, allocations: 3.895 MB / 0.974 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.04004, allocations: 3.984 kB / 0.974 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.04104, allocations: 0.6227 MB / 0.9746 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.04116, allocations: 47.84 kB / 0.9746 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.0412, allocations: 11.98 kB / 0.9746 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.04143, allocations: 12.16 kB / 0.9746 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.0415, allocations: 35.89 kB / 0.9747 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.04152, allocations: 15.94 kB / 0.9747 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001699/0.04169, allocations: 148.5 kB / 0.9748 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6e-08/0.04169, allocations: 0 / 0.9748 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005659/0.04226, allocations: 99.88 kB / 0.9749 GB, free: 2.035 MB / 0.8731 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.0002817/0.04254, allocations: 143.1 kB / 0.9751 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.04359, allocations: 0.5629 MB / 0.9756 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.0436, allocations: 0 / 0.9756 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.0442, allocations: 406.2 kB / 0.976 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.04473, allocations: 44 kB / 0.9761 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.04589, allocations: 0.597 MB / 0.9766 GB, free: 192 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.04612, allocations: 177 kB / 0.9768 GB, free: 16 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.04628, allocations: 58.23 kB / 0.9769 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.04634, allocations: 20.5 kB / 0.9769 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/0.04634, allocations: 8 kB / 0.9769 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of Templates: time 0.009799/0.05614, allocations: 4.166 MB / 0.981 GB, free: 11.81 MB / 0.8887 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: 8.046660829335451]