Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.002071/0.002071, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002666/0.002666, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.867/2.867, allocations: 359 MB / 0.6048 GB, free: 10.92 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.827e-05, allocations: 7.438 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04565/0.04568, allocations: 31.11 MB / 0.8168 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02872/0.0744, allocations: 14.31 MB / 0.8308 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/0.07842, allocations: 210.4 kB / 0.831 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.0897, allocations: 3.682 MB / 0.8345 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.1001, allocations: 3.067 MB / 0.8375 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.007187/0.1073, allocations: 2.357 MB / 0.8398 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01385/0.1211, allocations: 9.012 MB / 0.8486 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.1317, allocations: 5.519 MB / 0.854 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.1443, allocations: 5.684 MB / 0.8596 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00834/0.1526, allocations: 3.659 MB / 0.8632 GB, free: 13.86 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.002245/0.1549, allocations: 0.7148 MB / 0.8639 GB, free: 13.15 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004975/0.1599, allocations: 1.626 MB / 0.8654 GB, free: 11.52 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.004896/0.1648, allocations: 3.02 MB / 0.8684 GB, free: 8.496 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005457/0.1702, allocations: 2.358 MB / 0.8707 GB, free: 6.133 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.1884, allocations: 11.37 MB / 0.8818 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1884, allocations: 0 / 0.8818 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1884, allocations: 8 kB / 0.8818 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000352/0.1888, allocations: 0 / 0.8818 GB, free: 10.72 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01471/0.2035, allocations: 5.978 MB / 0.8876 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2035, allocations: 8.031 kB / 0.8877 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008384/0.2119, allocations: 1.819 MB / 0.8894 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008346/0.2203, allocations: 3.652 MB / 0.893 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/0.2209, allocations: 378.4 kB / 0.8934 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.2222, allocations: 0.5041 MB / 0.8939 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.24, allocations: 8.698 MB / 0.9023 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001989/0.2402, allocations: 27.77 kB / 0.9024 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.2412, allocations: 212 kB / 0.9026 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001207/0.2424, allocations: 437.5 kB / 0.903 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.2566, allocations: 6.077 MB / 0.9089 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04399/0.3006, allocations: 21.39 MB / 0.9298 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.3044, allocations: 1.905 MB / 0.9317 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/0.3075, allocations: 1.745 MB / 0.9334 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.3077, allocations: 34 kB / 0.9334 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/0.3077, allocations: 52.56 kB / 0.9335 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=171): time 4.258e-06/0.3077, allocations: 0 / 0.9335 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276): time 0.2237/0.5314, allocations: 38.73 MB / 0.9713 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.5315, allocations: 89.5 kB / 0.9714 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.5351, allocations: 2.028 MB / 0.9733 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003323/0.5355, allocations: 73.7 kB / 0.9734 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.5376, allocations: 2.344 MB / 0.9757 GB, free: 9.336 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.5388, allocations: 0.976 MB / 0.9767 GB, free: 8.352 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.5398, allocations: 0.5024 MB / 0.9771 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.54, allocations: 301.1 kB / 0.9774 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003441/0.5434, allocations: 1.977 MB / 0.9794 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004297/0.5477, allocations: 2.606 MB / 0.9819 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008256/0.556, allocations: 4.925 MB / 0.9867 GB, free: 13.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.556, allocations: 8 kB / 0.9867 GB, free: 13.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01754/0.5736, allocations: 7.751 MB / 0.9943 GB, free: 5.684 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.5736, allocations: 12 kB / 0.9943 GB, free: 5.672 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.5736, allocations: 16 kB / 0.9943 GB, free: 5.656 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/0.5875, allocations: 3.719 MB / 0.998 GB, free: 1.926 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.5893, allocations: 407.3 kB / 0.9983 GB, free: 1.527 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05557/0.6448, allocations: 32.74 MB / 1.03 GB, free: 180 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.6476, allocations: 163.9 kB / 1.03 GB, free: 16 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003123/0.6479, allocations: 112 kB / 1.031 GB, free: 15.9 MB / 0.9948 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003414/0.6513, allocations: 1.796 MB / 1.032 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009737/0.6523, allocations: 406.1 kB / 1.033 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/0.6687, allocations: 7.224 MB / 1.04 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.6687, allocations: 32 kB / 1.04 GB, free: 6.363 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.694e-05/0.6687, allocations: 28 kB / 1.04 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-05/0.6688, allocations: 11.95 kB / 1.04 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4063/1.075, allocations: 11.4 MB / 1.051 GB, free: 276.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.075, allocations: 8.625 kB / 1.051 GB, free: 276.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000958/1.076, allocations: 229.3 kB / 1.051 GB, free: 276.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01037/1.086, allocations: 3.355 MB / 1.054 GB, free: 276.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/1.087, allocations: 55.73 kB / 1.055 GB, free: 276.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03524/1.122, allocations: 31.52 MB / 1.085 GB, free: 259.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.122, allocations: 11.91 kB / 1.085 GB, free: 259.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.134, allocations: 6.831 MB / 1.092 GB, free: 256.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.135, allocations: 0.7033 MB / 1.093 GB, free: 256.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004349/1.136, allocations: 58.22 kB / 1.093 GB, free: 256.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.138, allocations: 165.6 kB / 1.093 GB, free: 256.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009749/1.139, allocations: 267.7 kB / 1.093 GB, free: 256.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.139, allocations: 76.5 kB / 1.093 GB, free: 256.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001856/1.141, allocations: 1.331 MB / 1.095 GB, free: 255.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/1.141, allocations: 0 / 1.095 GB, free: 255.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003709/1.144, allocations: 1.377 MB / 1.096 GB, free: 255.5 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003147/1.145, allocations: 174.1 kB / 1.096 GB, free: 255.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009997/1.155, allocations: 6.562 MB / 1.102 GB, free: 252.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.155, allocations: 3.906 kB / 1.102 GB, free: 252.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00679/1.161, allocations: 4.263 MB / 1.107 GB, free: 250.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/1.166, allocations: 1.019 MB / 1.108 GB, free: 250 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.181, allocations: 10.47 MB / 1.118 GB, free: 244.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003367/1.184, allocations: 3.115 MB / 1.121 GB, free: 242 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001763/1.186, allocations: 0.5222 MB / 1.121 GB, free: 241.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/1.186, allocations: 148.2 kB / 1.122 GB, free: 241.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.122e-06/1.186, allocations: 0 / 1.122 GB, free: 241.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.08931/1.275, allocations: 75.53 MB / 1.195 GB, free: 170.5 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 11.10920026304666]