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.001338/0.001338, allocations: 106 kB / 15.99 MB, free: 6.355 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.001385/0.001386, allocations: 196.7 kB / 16.91 MB, free: 6.199 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.69 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.326/2.326, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63 kB / 0.8127 GB, free: 32.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.267, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009119/0.2762, allocations: 6.813 MB / 0.9564 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005438/0.2817, allocations: 3.055 MB / 0.9594 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.2825, allocations: 27.81 kB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.2853, allocations: 0.8987 MB / 0.9603 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.2868, allocations: 469.7 kB / 0.9608 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.288, allocations: 411.1 kB / 0.9612 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.2896, allocations: 1.232 MB / 0.9624 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.2909, allocations: 0.7367 MB / 0.9631 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.2918, allocations: 482.1 kB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000895/0.2927, allocations: 0.5371 MB / 0.9641 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.2929, allocations: 68 kB / 0.9641 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009211/0.2938, allocations: 371.3 kB / 0.9645 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.2942, allocations: 315.1 kB / 0.9648 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.2949, allocations: 449.7 kB / 0.9652 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.2961, allocations: 0.9431 MB / 0.9661 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2961, allocations: 0 / 0.9661 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2961, allocations: 0 / 0.9661 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.2961, allocations: 8 kB / 0.9661 GB, free: 8.438 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.002328/0.2985, allocations: 1.168 MB / 0.9673 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2985, allocations: 12.03 kB / 0.9673 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.3001, allocations: 239.6 kB / 0.9675 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.301, allocations: 0.553 MB / 0.9681 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.3011, allocations: 45.67 kB / 0.9681 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3012, allocations: 68.36 kB / 0.9682 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.3028, allocations: 1.089 MB / 0.9692 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.3029, allocations: 7.844 kB / 0.9692 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.3029, allocations: 35.98 kB / 0.9693 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.3031, allocations: 81.25 kB / 0.9693 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.3043, allocations: 0.7504 MB / 0.9701 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/0.3099, allocations: 5.889 MB / 0.9758 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.3109, allocations: 0.5614 MB / 0.9764 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.3114, allocations: 334 kB / 0.9767 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.3114, allocations: 4.438 kB / 0.9767 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3115, allocations: 39 kB / 0.9767 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.3115, allocations: 0 / 0.9767 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.003947/0.3154, allocations: 1.986 MB / 0.9787 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3155, allocations: 59.78 kB / 0.9787 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.3162, allocations: 0.5702 MB / 0.9793 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.3162, allocations: 37.7 kB / 0.9793 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.3165, allocations: 418.9 kB / 0.9797 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3166, allocations: 173.6 kB / 0.9799 GB, free: 9.555 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.3168, allocations: 122.5 kB / 0.98 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.317, allocations: 382.7 kB / 0.9804 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.3174, allocations: 273.8 kB / 0.9806 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.3179, allocations: 493 kB / 0.9811 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.319, allocations: 0.8055 MB / 0.9819 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.319, allocations: 7.984 kB / 0.9819 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001901/0.3209, allocations: 1.083 MB / 0.983 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3209, allocations: 8 kB / 0.983 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3209, allocations: 8 kB / 0.983 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008807/0.3218, allocations: 283.9 kB / 0.9832 GB, free: 5.891 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.3223, allocations: 123.8 kB / 0.9834 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00701/0.3294, allocations: 7.13 MB / 0.9903 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.33, allocations: 39.95 kB / 0.9904 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/0.3301, allocations: 32.06 kB / 0.9904 GB, free: 14.01 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.0004088/0.3305, allocations: 255.7 kB / 0.9906 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.3307, allocations: 75.16 kB / 0.9907 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.3324, allocations: 0.8964 MB / 0.9916 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3324, allocations: 4 kB / 0.9916 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3324, allocations: 4 kB / 0.9916 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3324, allocations: 3.984 kB / 0.9916 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.3351, allocations: 1.724 MB / 0.9933 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3351, allocations: 0 / 0.9933 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.3354, allocations: 60.08 kB / 0.9933 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/0.3362, allocations: 279.1 kB / 0.9936 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.3362, allocations: 8 kB / 0.9936 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006617/0.3429, allocations: 7.126 MB / 1.001 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3429, allocations: 0 / 1.001 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.3445, allocations: 0.9875 MB / 1.002 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.3448, allocations: 196.2 kB / 1.002 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3449, allocations: 12 kB / 1.002 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.3453, allocations: 35.89 kB / 1.002 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3454, allocations: 47.89 kB / 1.002 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.3455, allocations: 8 kB / 1.002 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004545/0.3459, allocations: 399.1 kB / 1.002 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3459, allocations: 0 / 1.002 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008211/0.3468, allocations: 220 kB / 1.002 GB, free: 0.9414 MB / 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.00018/0.347, allocations: 124.2 kB / 1.003 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.3491, allocations: 1.322 MB / 1.004 GB, free: 15.44 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3491, allocations: 0 / 1.004 GB, free: 15.44 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.3504, allocations: 0.8975 MB / 1.005 GB, free: 14.49 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3515, allocations: 222.3 kB / 1.005 GB, free: 14.28 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.354, allocations: 1.702 MB / 1.007 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.3547, allocations: 1.016 MB / 1.008 GB, free: 11.47 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3548, allocations: 51.44 kB / 1.008 GB, free: 11.42 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/0.3549, allocations: 0 / 1.008 GB, free: 11.42 MB / 0.795 GB Notification: Performance of Templates: time 0.02428/0.3791, allocations: 20.85 MB / 1.028 GB, free: 6.625 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