Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007017/0.007017, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001514/0.001514, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.533/1.533, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.356/2.356, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6328/0.6343, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01539/0.6497, allocations: 14.69 MB / 0.9639 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.6669, allocations: 10.37 MB / 0.9741 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.6693, allocations: 50.72 kB / 0.9741 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004409/0.6738, allocations: 1.573 MB / 0.9756 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006362/0.6801, allocations: 1.601 MB / 0.9772 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.6825, allocations: 0.6849 MB / 0.9779 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005703/0.6882, allocations: 3.406 MB / 0.9812 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.6915, allocations: 1.365 MB / 0.9825 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.6946, allocations: 1.387 MB / 0.9839 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.6973, allocations: 1.164 MB / 0.985 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006231/0.6979, allocations: 99.94 kB / 0.9851 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.7004, allocations: 0.889 MB / 0.986 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.7014, allocations: 0.5373 MB / 0.9865 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.7038, allocations: 0.8897 MB / 0.9874 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.7076, allocations: 2.194 MB / 0.9895 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.7077, allocations: 0 / 0.9895 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7077, allocations: 0 / 0.9895 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000114/0.7078, allocations: 0 / 0.9895 GB, free: 9.113 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005947/0.7137, allocations: 2.17 MB / 0.9916 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.7138, allocations: 15.97 kB / 0.9917 GB, free: 6.871 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.7257, allocations: 2.101 MB / 0.9937 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.7289, allocations: 1.221 MB / 0.9949 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.7291, allocations: 86.69 kB / 0.995 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005802/0.7297, allocations: 116.1 kB / 0.9951 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007126/0.7368, allocations: 2.674 MB / 0.9977 GB, free: 476 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.7369, allocations: 11.94 kB / 0.9977 GB, free: 464 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.7372, allocations: 51.98 kB / 0.9978 GB, free: 412 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006333/0.7379, allocations: 194.1 kB / 0.998 GB, free: 216 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007612/0.7455, allocations: 2.787 MB / 1.001 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.7618, allocations: 10.51 MB / 1.011 GB, free: 2.32 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006119/0.768, allocations: 2.336 MB / 1.013 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.771, allocations: 1.276 MB / 1.014 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-05/0.7711, allocations: 13 kB / 1.014 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.7712, allocations: 43.56 kB / 1.015 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 2.946e-06/0.7712, allocations: 0 / 1.015 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.05857/0.8298, allocations: 16.47 MB / 1.031 GB, free: 13.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.8299, allocations: 68.72 kB / 1.031 GB, free: 13.9 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.8318, allocations: 1.176 MB / 1.032 GB, free: 12.71 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003312/0.8322, allocations: 53.7 kB / 1.032 GB, free: 12.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/0.8328, allocations: 0.7475 MB / 1.033 GB, free: 11.9 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006679/0.8335, allocations: 0.5159 MB / 1.033 GB, free: 11.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006711/0.8341, allocations: 287.4 kB / 1.033 GB, free: 11.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8343, allocations: 305.1 kB / 1.034 GB, free: 10.79 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/0.8378, allocations: 1.51 MB / 1.035 GB, free: 9.277 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/0.8416, allocations: 1.78 MB / 1.037 GB, free: 7.402 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/0.8488, allocations: 3.365 MB / 1.04 GB, free: 3.938 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.8489, allocations: 4 kB / 1.04 GB, free: 3.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01392/0.8628, allocations: 5.273 MB / 1.045 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.8629, allocations: 12 kB / 1.045 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.8629, allocations: 8 kB / 1.045 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007775/0.8707, allocations: 1.887 MB / 1.047 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.8727, allocations: 415.2 kB / 1.048 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/0.9021, allocations: 22.19 MB / 1.069 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.9048, allocations: 311.4 kB / 1.07 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/0.9051, allocations: 63.97 kB / 1.07 GB, free: 4.664 MB / 0.8262 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001099/0.9063, allocations: 459.1 kB / 1.07 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.9068, allocations: 177.9 kB / 1.07 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.9208, allocations: 5.32 MB / 1.075 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.9209, allocations: 12 kB / 1.075 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-05/0.921, allocations: 20 kB / 1.075 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/0.921, allocations: 7.969 kB / 1.075 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/0.9386, allocations: 7.437 MB / 1.083 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.9387, allocations: 4.062 kB / 1.083 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.9403, allocations: 351.4 kB / 1.083 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006452/0.9468, allocations: 1.709 MB / 1.085 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/0.9471, allocations: 43.91 kB / 1.085 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02738/0.9745, allocations: 21.35 MB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.9745, allocations: 7.938 kB / 1.106 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/0.9872, allocations: 4.881 MB / 1.11 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.9884, allocations: 498.8 kB / 1.111 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/0.9888, allocations: 27.91 kB / 1.111 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/0.9911, allocations: 323.6 kB / 1.111 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005728/0.9916, allocations: 148.9 kB / 1.111 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/0.9918, allocations: 67.89 kB / 1.111 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00125/0.9931, allocations: 0.7899 MB / 1.112 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9931, allocations: 0 / 1.112 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002411/0.9955, allocations: 0.6562 MB / 1.113 GB, free: 7.043 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003893/0.9959, allocations: 147.3 kB / 1.113 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.008, allocations: 5.128 MB / 1.118 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.008, allocations: 0 / 1.118 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007139/1.015, allocations: 3.355 MB / 1.121 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.018, allocations: 0.5137 MB / 1.122 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.028, allocations: 5.118 MB / 1.127 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/1.03, allocations: 1.572 MB / 1.128 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/1.03, allocations: 119.3 kB / 1.128 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of SimCode: time 1.122e-06/1.03, allocations: 0 / 1.128 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of Templates: time 0.0934/1.124, allocations: 85.72 MB / 1.212 GB, free: 1.148 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches