Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001542, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 72.31 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3348, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03888/0.3737, allocations: 35.12 MB / 1.053 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.3925, allocations: 9.944 MB / 1.063 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004477/0.397, allocations: 147.2 kB / 1.063 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.4076, allocations: 3.801 MB / 1.067 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00799/0.4157, allocations: 2.032 MB / 1.069 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006821/0.4225, allocations: 1.97 MB / 1.071 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.6091/1.032, allocations: 7.964 MB / 1.078 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01421/1.046, allocations: 9.524 MB / 1.088 GB, free: 19.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007573/1.054, allocations: 3.375 MB / 1.091 GB, free: 19.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007823/1.061, allocations: 3.737 MB / 1.095 GB, free: 18.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002878/1.064, allocations: 0.678 MB / 1.095 GB, free: 18.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005753/1.07, allocations: 1.445 MB / 1.097 GB, free: 18.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006344/1.076, allocations: 2.615 MB / 1.099 GB, free: 18.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007875/1.084, allocations: 3.101 MB / 1.102 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01438/1.099, allocations: 10.38 MB / 1.112 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.099, allocations: 3.844 kB / 1.112 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.535e-06/1.099, allocations: 0 / 1.112 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003467/1.099, allocations: 5.062 kB / 1.112 GB, free: 15.92 MB / 0.8419 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.02061/1.12, allocations: 5.403 MB / 1.118 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.12, allocations: 8.953 kB / 1.118 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007055/1.127, allocations: 0.9621 MB / 1.119 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/1.137, allocations: 3.184 MB / 1.122 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/1.138, allocations: 356.5 kB / 1.122 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/1.14, allocations: 464.2 kB / 1.123 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/1.159, allocations: 7.909 MB / 1.13 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/1.16, allocations: 26.97 kB / 1.13 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008754/1.161, allocations: 210.2 kB / 1.13 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/1.161, allocations: 370.6 kB / 1.131 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/1.172, allocations: 5.937 MB / 1.137 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04064/1.213, allocations: 35.96 MB / 1.172 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/1.217, allocations: 2.135 MB / 1.174 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/1.219, allocations: 1.478 MB / 1.175 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/1.219, allocations: 17.31 kB / 1.175 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/1.219, allocations: 55.88 kB / 1.175 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 4.649e-06/1.219, allocations: 6.625 kB / 1.175 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=160): time 0.01715/1.236, allocations: 7.539 MB / 1.183 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/1.236, allocations: 75.34 kB / 1.183 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.24, allocations: 1.868 MB / 1.185 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.24, allocations: 49.7 kB / 1.185 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.241, allocations: 2.125 MB / 1.187 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/1.242, allocations: 0.5549 MB / 1.187 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006593/1.243, allocations: 403.7 kB / 1.188 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.243, allocations: 301.1 kB / 1.188 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.244, allocations: 1.062 MB / 1.189 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/1.246, allocations: 1.763 MB / 1.191 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/1.25, allocations: 3.047 MB / 1.194 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.25, allocations: 4 kB / 1.194 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006551/1.257, allocations: 3.924 MB / 1.197 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/1.257, allocations: 16.25 kB / 1.198 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/1.257, allocations: 24 kB / 1.198 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/1.259, allocations: 0.9285 MB / 1.198 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.261, allocations: 425.1 kB / 1.199 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/1.283, allocations: 22.76 MB / 1.221 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/1.285, allocations: 127.2 kB / 1.221 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.286, allocations: 95.98 kB / 1.221 GB, free: 14.15 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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.003733/1.289, allocations: 1.654 MB / 1.223 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007029/1.29, allocations: 257 kB / 1.223 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005856/1.296, allocations: 3.259 MB / 1.226 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/1.296, allocations: 16 kB / 1.226 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/1.296, allocations: 8 kB / 1.226 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.296, allocations: 7.969 kB / 1.226 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.311, allocations: 7.557 MB / 1.234 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.311, allocations: 4 kB / 1.234 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/1.312, allocations: 221.6 kB / 1.234 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/1.315, allocations: 0.8907 MB / 1.235 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.315, allocations: 36 kB / 1.235 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/1.337, allocations: 22.72 MB / 1.257 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.337, allocations: 11.25 kB / 1.257 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0062/1.343, allocations: 3.375 MB / 1.26 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.345, allocations: 0.5215 MB / 1.261 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/1.345, allocations: 35.19 kB / 1.261 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.347, allocations: 99.81 kB / 1.261 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/1.347, allocations: 132.5 kB / 1.261 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.347, allocations: 52 kB / 1.261 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001807/1.349, allocations: 1.225 MB / 1.262 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.349, allocations: 0 / 1.262 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00318/1.352, allocations: 0.9062 MB / 1.263 GB, free: 1.422 MB / 0.9669 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.0002959/1.352, allocations: 165.7 kB / 1.263 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00666/1.359, allocations: 4.435 MB / 1.268 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.359, allocations: 4 kB / 1.268 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.363, allocations: 2.986 MB / 1.271 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/1.369, allocations: 0.8157 MB / 1.271 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.385, allocations: 7.599 MB / 1.279 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004429/1.389, allocations: 3.205 MB / 1.282 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002137/1.391, allocations: 0.5254 MB / 1.283 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/1.392, allocations: 139.4 kB / 1.283 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/1.392, allocations: 4 kB / 1.283 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of Templates: time 0.07465/1.466, allocations: 40.99 MB / 1.323 GB, free: 5.07 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches