Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001598/0.001598, allocations: 84.41 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.001748/0.001748, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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.471/1.471, allocations: 177.1 MB / 203.9 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.858/2.858, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.272e-06, allocations: 4 kB / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.324e-05/3.951e-05, allocations: 3.406 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04846/0.0485, allocations: 33 MB / 0.8431 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0231/0.0716, allocations: 9.89 MB / 0.8527 GB, free: 6.043 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00375/0.07535, allocations: 194.6 kB / 0.8529 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.0872, allocations: 3.839 MB / 0.8566 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.006847/0.09404, allocations: 2.19 MB / 0.8588 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005716/0.09976, allocations: 1.987 MB / 0.8607 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.1115, allocations: 8.129 MB / 0.8687 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.1225, allocations: 5.25 MB / 0.8738 GB, free: 288 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.1336, allocations: 4.869 MB / 0.8785 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007886/0.1415, allocations: 3.441 MB / 0.8819 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002077/0.1436, allocations: 0.6914 MB / 0.8826 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.1477, allocations: 1.381 MB / 0.8839 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.004978/0.1527, allocations: 2.829 MB / 0.8867 GB, free: 3.043 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00702/0.1597, allocations: 2.187 MB / 0.8888 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.02389/0.1836, allocations: 10.68 MB / 0.8993 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.1836, allocations: 0 / 0.8993 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1836, allocations: 0 / 0.8993 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003208/0.1839, allocations: 0 / 0.8993 GB, free: 6.141 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02626/0.2102, allocations: 5.447 MB / 0.9046 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.2102, allocations: 8.031 kB / 0.9046 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/0.225, allocations: 1.593 MB / 0.9061 GB, free: 15.03 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/0.2413, allocations: 3.424 MB / 0.9095 GB, free: 11.54 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008196/0.2421, allocations: 365.9 kB / 0.9098 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/0.245, allocations: 480.3 kB / 0.9103 GB, free: 10.71 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03298/0.278, allocations: 8.652 MB / 0.9187 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002349/0.2782, allocations: 20.05 kB / 0.9188 GB, free: 1.488 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/0.2798, allocations: 208.7 kB / 0.919 GB, free: 1.285 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/0.281, allocations: 365.1 kB / 0.9193 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/0.3031, allocations: 5.929 MB / 0.9251 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/0.3447, allocations: 23.11 MB / 0.9477 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00405/0.3488, allocations: 1.987 MB / 0.9496 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/0.351, allocations: 1.33 MB / 0.9509 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.3511, allocations: 33.31 kB / 0.9509 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.626e-05/0.3512, allocations: 55.81 kB / 0.951 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 3.216e-06/0.3512, allocations: 0 / 0.951 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.01613/0.3673, allocations: 6.694 MB / 0.9575 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3674, allocations: 72.66 kB / 0.9576 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.3703, allocations: 1.662 MB / 0.9592 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.3705, allocations: 53.7 kB / 0.9593 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.3725, allocations: 2.199 MB / 0.9614 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000719/0.3732, allocations: 0.5809 MB / 0.962 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007607/0.374, allocations: 404 kB / 0.9624 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3742, allocations: 301.1 kB / 0.9627 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.3762, allocations: 1.035 MB / 0.9637 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.3792, allocations: 1.825 MB / 0.9655 GB, free: 464 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/0.385, allocations: 3.115 MB / 0.9685 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-05/0.3851, allocations: 8 kB / 0.9685 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008634/0.3937, allocations: 3.98 MB / 0.9724 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.3938, allocations: 16 kB / 0.9724 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/0.3938, allocations: 28 kB / 0.9724 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/0.397, allocations: 0.9864 MB / 0.9734 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.3987, allocations: 439.2 kB / 0.9738 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02789/0.4266, allocations: 21.17 MB / 0.9945 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.4292, allocations: 127.9 kB / 0.9946 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/0.4297, allocations: 96 kB / 0.9947 GB, free: 0.8203 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003667/0.4333, allocations: 1.664 MB / 0.9963 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008026/0.4341, allocations: 298.5 kB / 0.9966 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006814/0.4409, allocations: 3.225 MB / 0.9998 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.441, allocations: 16 kB / 0.9998 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/0.441, allocations: 8 kB / 0.9998 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.441, allocations: 15.89 kB / 0.9998 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.4548, allocations: 6.441 MB / 1.006 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.4549, allocations: 7.984 kB / 1.006 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4559, allocations: 215.6 kB / 1.006 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003111/0.459, allocations: 0.9399 MB / 1.007 GB, free: 3.766 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.4592, allocations: 35.94 kB / 1.007 GB, free: 3.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4373/0.8965, allocations: 21.11 MB / 1.028 GB, free: 204 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.8965, allocations: 7.344 kB / 1.028 GB, free: 204 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005696/0.9022, allocations: 3.387 MB / 1.031 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.9033, allocations: 448.1 kB / 1.032 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.9036, allocations: 39.06 kB / 1.032 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.9046, allocations: 90.73 kB / 1.032 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/0.905, allocations: 150.9 kB / 1.032 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.9051, allocations: 46.17 kB / 1.032 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001568/0.9067, allocations: 1.055 MB / 1.033 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.9067, allocations: 0.5312 kB / 1.033 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002932/0.9096, allocations: 0.902 MB / 1.034 GB, free: 203.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002616/0.9099, allocations: 159.9 kB / 1.034 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006552/0.9164, allocations: 4.276 MB / 1.038 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.9165, allocations: 1.281 kB / 1.038 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003785/0.9202, allocations: 2.909 MB / 1.041 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/0.9241, allocations: 0.7555 MB / 1.042 GB, free: 199.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.9381, allocations: 7.898 MB / 1.049 GB, free: 195.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003833/0.9419, allocations: 2.667 MB / 1.052 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001803/0.9437, allocations: 0.5134 MB / 1.053 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.9441, allocations: 137.4 kB / 1.053 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.273e-06/0.9441, allocations: 4.766 kB / 1.053 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05737/1.001, allocations: 41.99 MB / 1.094 GB, free: 163.8 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 9.801798547967337]