Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001483, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.00148/0.001479, allocations: 192.1 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.445/1.445, 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 9.1.2-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 67.28 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3013, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007943/0.3093, allocations: 6.155 MB / 0.9571 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.3145, allocations: 3.168 MB / 0.9602 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006448/0.3152, allocations: 31.75 kB / 0.9603 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.3178, allocations: 0.9375 MB / 0.9612 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.3192, allocations: 469.5 kB / 0.9616 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3206, allocations: 0.4988 MB / 0.9621 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3222, allocations: 1.104 MB / 0.9632 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008758/0.3231, allocations: 0.6388 MB / 0.9638 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.3238, allocations: 442.4 kB / 0.9642 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.3244, allocations: 482.1 kB / 0.9647 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.652e-05/0.3245, allocations: 56 kB / 0.9648 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000996/0.3255, allocations: 483 kB / 0.9652 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.3258, allocations: 287.2 kB / 0.9655 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.3262, allocations: 405.9 kB / 0.9659 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.3275, allocations: 1.18 MB / 0.967 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3276, allocations: 4 kB / 0.967 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3276, allocations: 0 / 0.967 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.3276, allocations: 0 / 0.967 GB, free: 7.711 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00167/0.3293, allocations: 1.052 MB / 0.9681 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3293, allocations: 12.03 kB / 0.9681 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.3308, allocations: 219.7 kB / 0.9683 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.3317, allocations: 0.5959 MB / 0.9689 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.3318, allocations: 49.67 kB / 0.9689 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3319, allocations: 64.36 kB / 0.969 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3333, allocations: 1.034 MB / 0.97 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.3333, allocations: 7.938 kB / 0.97 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.3334, allocations: 27.98 kB / 0.97 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.064e-05/0.3335, allocations: 69.27 kB / 0.9701 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.3345, allocations: 0.6996 MB / 0.9708 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005097/0.3396, allocations: 5.733 MB / 0.9764 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008594/0.3405, allocations: 0.5962 MB / 0.9769 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.3412, allocations: 420 kB / 0.9773 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.3412, allocations: 4 kB / 0.9774 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3413, allocations: 50.5 kB / 0.9774 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 2.455e-06/0.3413, allocations: 0 / 0.9774 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004177/0.3455, allocations: 2.056 MB / 0.9794 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3455, allocations: 55.41 kB / 0.9795 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.346, allocations: 466.8 kB / 0.9799 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.3461, allocations: 29.7 kB / 0.9799 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.3464, allocations: 391 kB / 0.9803 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.3465, allocations: 149.9 kB / 0.9805 GB, free: 9.152 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.3467, allocations: 110.2 kB / 0.9806 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3469, allocations: 370.8 kB / 0.9809 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.3472, allocations: 241.2 kB / 0.9811 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.3477, allocations: 461 kB / 0.9816 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009443/0.3486, allocations: 0.7558 MB / 0.9823 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3487, allocations: 4 kB / 0.9823 GB, free: 7.027 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001795/0.3505, allocations: 1.062 MB / 0.9834 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.3505, allocations: 8 kB / 0.9834 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3505, allocations: 8 kB / 0.9834 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3516, allocations: 335.8 kB / 0.9837 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.3519, allocations: 95.81 kB / 0.9838 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/0.3594, allocations: 7.521 MB / 0.9911 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.36, allocations: 28.02 kB / 0.9912 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.3601, allocations: 28 kB / 0.9912 GB, free: 13.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005032/0.3606, allocations: 241.6 kB / 0.9914 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3607, allocations: 67.19 kB / 0.9915 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.3624, allocations: 0.9079 MB / 0.9924 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3625, allocations: 4 kB / 0.9924 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3625, allocations: 8 kB / 0.9924 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3625, allocations: 4.078 kB / 0.9924 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.3658, allocations: 1.712 MB / 0.9941 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.3658, allocations: 8 kB / 0.9941 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.366, allocations: 39.91 kB / 0.9941 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009674/0.3669, allocations: 323.1 kB / 0.9944 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.367, allocations: 12 kB / 0.9944 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007885/0.3749, allocations: 7.505 MB / 1.002 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3749, allocations: 4 kB / 1.002 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.3767, allocations: 1.018 MB / 1.003 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.377, allocations: 168.6 kB / 1.003 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.377, allocations: 15.92 kB / 1.003 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.3773, allocations: 19.98 kB / 1.003 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3775, allocations: 51.86 kB / 1.003 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.3775, allocations: 12 kB / 1.003 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000337/0.3778, allocations: 310.9 kB / 1.003 GB, free: 200 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3779, allocations: 0 / 1.003 GB, free: 200 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007778/0.3786, allocations: 195.9 kB / 1.003 GB, free: 4 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001716/0.3788, allocations: 115.2 kB / 1.004 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.3806, allocations: 1.195 MB / 1.005 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3806, allocations: 0 / 1.005 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.3818, allocations: 0.8774 MB / 1.006 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.3828, allocations: 211.6 kB / 1.006 GB, free: 13.51 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3847, allocations: 1.228 MB / 1.007 GB, free: 12.24 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.3853, allocations: 0.9882 MB / 1.008 GB, free: 11.22 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002669/0.3856, allocations: 101.1 kB / 1.008 GB, free: 11.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.3857, allocations: 35.44 kB / 1.008 GB, free: 11.08 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/0.3857, allocations: 0 / 1.008 GB, free: 11.08 MB / 0.795 GB Notification: Performance of Templates: time 0.01638/0.4021, allocations: 9.974 MB / 1.018 GB, free: 1.211 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches