Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.001525/0.001525, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001855/0.001855, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 69 kB / 0.8132 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2803, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008942/0.2893, allocations: 6.809 MB / 0.9569 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005097/0.2945, allocations: 3.071 MB / 0.9599 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.2951, allocations: 27.81 kB / 0.9599 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.2977, allocations: 0.9492 MB / 0.9609 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.299, allocations: 0.5089 MB / 0.9614 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3001, allocations: 442.8 kB / 0.9618 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.3015, allocations: 1.228 MB / 0.963 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.3026, allocations: 0.6664 MB / 0.9636 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006952/0.3033, allocations: 474.3 kB / 0.9641 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007501/0.304, allocations: 0.5175 MB / 0.9646 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.3042, allocations: 68 kB / 0.9647 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.3049, allocations: 375.3 kB / 0.965 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.3053, allocations: 319.1 kB / 0.9653 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.3058, allocations: 449.7 kB / 0.9658 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3072, allocations: 1.199 MB / 0.9669 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3072, allocations: 4 kB / 0.9669 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3072, allocations: 0 / 0.9669 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.825e-05/0.3072, allocations: 0 / 0.9669 GB, free: 7.762 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00204/0.3093, allocations: 1.174 MB / 0.9681 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3093, allocations: 12.02 kB / 0.9681 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.3109, allocations: 235.6 kB / 0.9683 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.3117, allocations: 0.5492 MB / 0.9689 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.3118, allocations: 53.61 kB / 0.9689 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.3119, allocations: 68.36 kB / 0.969 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.3133, allocations: 1.089 MB / 0.97 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.3134, allocations: 11.84 kB / 0.97 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.3134, allocations: 31.98 kB / 0.9701 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.3136, allocations: 81.25 kB / 0.9702 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3147, allocations: 0.7543 MB / 0.9709 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.3207, allocations: 5.886 MB / 0.9766 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3217, allocations: 0.5592 MB / 0.9772 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.3222, allocations: 326 kB / 0.9775 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3222, allocations: 4.438 kB / 0.9775 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3222, allocations: 46.88 kB / 0.9775 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 2.245e-06/0.3222, allocations: 0 / 0.9775 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.003924/0.3262, allocations: 1.986 MB / 0.9795 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3262, allocations: 55.84 kB / 0.9795 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/0.3269, allocations: 0.5625 MB / 0.9801 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.327, allocations: 37.64 kB / 0.9801 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.3273, allocations: 418.9 kB / 0.9805 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.3274, allocations: 177.6 kB / 0.9807 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3277, allocations: 126.5 kB / 0.9808 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3278, allocations: 378.7 kB / 0.9812 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.3283, allocations: 273.8 kB / 0.9814 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.3288, allocations: 493 kB / 0.9819 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.3298, allocations: 0.8132 MB / 0.9827 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3298, allocations: 4 kB / 0.9827 GB, free: 6.617 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001759/0.3316, allocations: 1.086 MB / 0.9838 GB, free: 5.512 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3316, allocations: 8.875 kB / 0.9838 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3316, allocations: 8 kB / 0.9838 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008423/0.3325, allocations: 279.1 kB / 0.984 GB, free: 5.211 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.333, allocations: 123.8 kB / 0.9842 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.3394, allocations: 7.133 MB / 0.9911 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.34, allocations: 35.95 kB / 0.9912 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.3401, allocations: 32 kB / 0.9912 GB, free: 13.33 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003844/0.3405, allocations: 255.4 kB / 0.9914 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.3406, allocations: 75.16 kB / 0.9915 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.3422, allocations: 0.8925 MB / 0.9924 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3422, allocations: 4 kB / 0.9924 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3423, allocations: 4 kB / 0.9924 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.3423, allocations: 3.984 kB / 0.9924 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.3449, allocations: 1.725 MB / 0.9941 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.345, allocations: 8.031 kB / 0.9941 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.3452, allocations: 63.95 kB / 0.9941 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.346, allocations: 271.4 kB / 0.9944 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.346, allocations: 8 kB / 0.9944 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006273/0.3523, allocations: 7.133 MB / 1.001 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3523, allocations: 0 / 1.001 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.3539, allocations: 0.9834 MB / 1.002 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.3542, allocations: 196.1 kB / 1.003 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3543, allocations: 15.94 kB / 1.003 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.3548, allocations: 39.89 kB / 1.003 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3549, allocations: 39.89 kB / 1.003 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.3549, allocations: 12 kB / 1.003 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004526/0.3554, allocations: 391.1 kB / 1.003 GB, free: 488 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3554, allocations: 0 / 1.003 GB, free: 488 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008122/0.3562, allocations: 228 kB / 1.003 GB, free: 260 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001476/0.3563, allocations: 117.1 kB / 1.003 GB, free: 136 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.3584, allocations: 1.33 MB / 1.005 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3584, allocations: 0 / 1.005 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3596, allocations: 0.8935 MB / 1.005 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3606, allocations: 220.8 kB / 1.006 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.3629, allocations: 1.423 MB / 1.007 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.3635, allocations: 1.012 MB / 1.008 GB, free: 11.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3636, allocations: 47.42 kB / 1.008 GB, free: 11.03 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/0.3636, allocations: 0 / 1.008 GB, free: 11.03 MB / 0.795 GB Notification: Performance of Templates: time 0.02364/0.3873, allocations: 20.84 MB / 1.028 GB, free: 6.23 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches