Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.002287/0.002287, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002783/0.002783, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.956/2.956, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7864 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.889e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04502/0.04505, allocations: 30.93 MB / 0.8166 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.07125, allocations: 13.76 MB / 0.83 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.07427, allocations: 194.3 kB / 0.8302 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.009601/0.08387, allocations: 3.297 MB / 0.8334 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.008572/0.09245, allocations: 2.83 MB / 0.8362 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005863/0.09831, allocations: 2.046 MB / 0.8382 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.11, allocations: 7.787 MB / 0.8458 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008305/0.1183, allocations: 4.635 MB / 0.8503 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.1284, allocations: 4.939 MB / 0.8552 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00732/0.1357, allocations: 3.246 MB / 0.8583 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.137, allocations: 0.5977 MB / 0.8589 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.1408, allocations: 1.419 MB / 0.8603 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00356/0.1444, allocations: 2.556 MB / 0.8628 GB, free: 14.15 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004051/0.1484, allocations: 2.023 MB / 0.8648 GB, free: 12.12 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.1629, allocations: 9.653 MB / 0.8742 GB, free: 2.441 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.1629, allocations: 3.984 kB / 0.8742 GB, free: 2.438 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1629, allocations: 0 / 0.8742 GB, free: 2.438 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003096/0.1632, allocations: 0 / 0.8742 GB, free: 2.438 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01377/0.177, allocations: 5.873 MB / 0.8799 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.177, allocations: 12.03 kB / 0.8799 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006963/0.184, allocations: 1.566 MB / 0.8815 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00792/0.1919, allocations: 3.023 MB / 0.8844 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.1922, allocations: 316.8 kB / 0.8847 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009126/0.1931, allocations: 432.3 kB / 0.8851 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.2038, allocations: 5.13 MB / 0.8902 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.2039, allocations: 27.75 kB / 0.8902 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/0.2044, allocations: 184 kB / 0.8904 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/0.2054, allocations: 372 kB / 0.8907 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00577/0.2112, allocations: 1.933 MB / 0.8926 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04151/0.2527, allocations: 25.7 MB / 0.9177 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2544, allocations: 0.6533 MB / 0.9183 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.2557, allocations: 0.6331 MB / 0.9189 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.2558, allocations: 21.31 kB / 0.919 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.2558, allocations: 50.7 kB / 0.919 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=130): time 3.426e-06/0.2558, allocations: 4 kB / 0.919 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=199): time 0.02402/0.2799, allocations: 7.306 MB / 0.9262 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.2799, allocations: 73.41 kB / 0.9262 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003914/0.2839, allocations: 2.356 MB / 0.9285 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.2842, allocations: 61.7 kB / 0.9286 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/0.2866, allocations: 2.254 MB / 0.9308 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.2877, allocations: 0.783 MB / 0.9316 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009917/0.2887, allocations: 0.4946 MB / 0.932 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00025/0.289, allocations: 480.8 kB / 0.9325 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.2905, allocations: 0.7112 MB / 0.9332 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002601/0.2931, allocations: 1.616 MB / 0.9348 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/0.2979, allocations: 2.526 MB / 0.9372 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.2979, allocations: 4 kB / 0.9372 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01075/0.3086, allocations: 3.889 MB / 0.941 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.3087, allocations: 12.97 kB / 0.941 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/0.3087, allocations: 20 kB / 0.9411 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00956/0.3183, allocations: 1.992 MB / 0.943 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.32, allocations: 383.4 kB / 0.9434 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0464/0.3664, allocations: 37.92 MB / 0.9804 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/0.3689, allocations: 127.9 kB / 0.9805 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.3692, allocations: 92 kB / 0.9806 GB, free: 0.8086 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00152/0.3707, allocations: 471.9 kB / 0.9811 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006073/0.3713, allocations: 330.4 kB / 0.9814 GB, free: 12 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009859/0.3811, allocations: 3.361 MB / 0.9847 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.3812, allocations: 23.94 kB / 0.9847 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.225e-05/0.3812, allocations: 20 kB / 0.9847 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.3812, allocations: 15.95 kB / 0.9847 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/0.4004, allocations: 8.031 MB / 0.9926 GB, free: 4.223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.4004, allocations: 8 kB / 0.9926 GB, free: 4.215 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009355/0.4013, allocations: 215.6 kB / 0.9928 GB, free: 4.004 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008632/0.41, allocations: 1.844 MB / 0.9946 GB, free: 2.082 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.4101, allocations: 40 kB / 0.9946 GB, free: 2.043 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04341/0.4535, allocations: 37.56 MB / 1.031 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.4536, allocations: 7.938 kB / 1.031 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008959/0.4625, allocations: 3.465 MB / 1.035 GB, free: 6.582 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/0.4642, allocations: 0.4982 MB / 1.035 GB, free: 6.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/0.4646, allocations: 43.89 kB / 1.035 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.466, allocations: 131.8 kB / 1.035 GB, free: 5.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000675/0.4667, allocations: 201.5 kB / 1.036 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.4668, allocations: 60.19 kB / 1.036 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002162/0.469, allocations: 1.332 MB / 1.037 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.469, allocations: 0 / 1.037 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003892/0.4729, allocations: 1.062 MB / 1.038 GB, free: 3.242 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003406/0.4732, allocations: 159 kB / 1.038 GB, free: 3.078 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.484, allocations: 5.895 MB / 1.044 GB, free: 12.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.4841, allocations: 0 / 1.044 GB, free: 12.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007959/0.492, allocations: 4.824 MB / 1.049 GB, free: 7.715 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/0.4961, allocations: 0.9074 MB / 1.049 GB, free: 6.836 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3311/0.8272, allocations: 7.52 MB / 1.057 GB, free: 273.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.8297, allocations: 2.334 MB / 1.059 GB, free: 273.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001488/0.8312, allocations: 438.4 kB / 1.059 GB, free: 273.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.8315, allocations: 135.7 kB / 1.06 GB, free: 273.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.342e-06/0.8315, allocations: 0 / 1.06 GB, free: 273.4 MB / 1.01 GB Notification: Performance of Templates: time 0.08617/0.9177, allocations: 61.45 MB / 1.12 GB, free: 256.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 10.580202193930745]