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.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_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.007514/0.007514, allocations: 101.5 kB / 15.88 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.001886/0.001886, allocations: 190.5 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.393/2.393, allocations: 390.2 MB / 0.6649 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 0.8125 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6448, allocations: 140.3 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007374/0.6522, allocations: 6.8 MB / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.6568, allocations: 3.084 MB / 0.9592 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006329/0.6574, allocations: 26.53 kB / 0.9593 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.6596, allocations: 0.8875 MB / 0.9601 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.6609, allocations: 469.1 kB / 0.9606 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.6619, allocations: 414.5 kB / 0.961 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.6637, allocations: 1.586 MB / 0.9625 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.6649, allocations: 0.6505 MB / 0.9632 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.6657, allocations: 415.4 kB / 0.9636 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007607/0.6665, allocations: 0.5334 MB / 0.9641 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.6666, allocations: 51.81 kB / 0.9641 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.6676, allocations: 460.9 kB / 0.9646 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.6679, allocations: 291.9 kB / 0.9648 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005314/0.6685, allocations: 428.5 kB / 0.9653 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.6696, allocations: 0.931 MB / 0.9662 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6696, allocations: 0.875 kB / 0.9662 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6697, allocations: 0 / 0.9662 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.6697, allocations: 0.75 kB / 0.9662 GB, free: 13.1 MB / 0.7325 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.002337/0.672, allocations: 1.174 MB / 0.9673 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6721, allocations: 9.562 kB / 0.9673 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.6738, allocations: 240.9 kB / 0.9676 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.6749, allocations: 0.5542 MB / 0.9681 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/0.675, allocations: 48.27 kB / 0.9681 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.6752, allocations: 65.8 kB / 0.9682 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.677, allocations: 1.088 MB / 0.9693 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.677, allocations: 2.625 kB / 0.9693 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.6771, allocations: 32.98 kB / 0.9693 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/0.6773, allocations: 89.12 kB / 0.9694 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.6785, allocations: 0.749 MB / 0.9701 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006025/0.6846, allocations: 5.895 MB / 0.9759 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.6857, allocations: 0.558 MB / 0.9764 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.6861, allocations: 323.4 kB / 0.9767 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.6862, allocations: 6.438 kB / 0.9767 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.6862, allocations: 41.47 kB / 0.9768 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.554e-06/0.6862, allocations: 3.938 kB / 0.9768 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.004258/0.6905, allocations: 1.979 MB / 0.9787 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6906, allocations: 64.17 kB / 0.9788 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.6913, allocations: 0.5675 MB / 0.9793 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.6914, allocations: 36.11 kB / 0.9794 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.6917, allocations: 416.8 kB / 0.9798 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.6919, allocations: 171.9 kB / 0.9799 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.6921, allocations: 126.8 kB / 0.98 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6923, allocations: 378.4 kB / 0.9804 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.6927, allocations: 281.5 kB / 0.9807 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.6933, allocations: 493 kB / 0.9811 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.6943, allocations: 0.8093 MB / 0.9819 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6943, allocations: 4 kB / 0.9819 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001854/0.6962, allocations: 1.083 MB / 0.983 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6962, allocations: 8 kB / 0.983 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6963, allocations: 4 kB / 0.983 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008871/0.6971, allocations: 283.6 kB / 0.9833 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.6976, allocations: 127.7 kB / 0.9834 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006333/0.704, allocations: 6.595 MB / 0.9898 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.7047, allocations: 47.95 kB / 0.9899 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.7048, allocations: 24 kB / 0.9899 GB, free: 7.223 MB / 0.7481 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.0004195/0.7052, allocations: 257.6 kB / 0.9901 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.7053, allocations: 71.16 kB / 0.9902 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.7069, allocations: 0.8925 MB / 0.9911 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7069, allocations: 4 kB / 0.9911 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7069, allocations: 4 kB / 0.9911 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.7069, allocations: 7.922 kB / 0.9911 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.7097, allocations: 1.717 MB / 0.9928 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7098, allocations: 3.938 kB / 0.9928 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.71, allocations: 67.88 kB / 0.9928 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007923/0.7108, allocations: 275.4 kB / 0.9931 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.7109, allocations: 12 kB / 0.9931 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.7171, allocations: 6.575 MB / 0.9995 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.7171, allocations: 0 / 0.9995 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.7188, allocations: 0.9874 MB / 1.001 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.7192, allocations: 192.2 kB / 1.001 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/0.7193, allocations: 19.92 kB / 1.001 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.7197, allocations: 27.91 kB / 1.001 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.7198, allocations: 44.14 kB / 1.001 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.7199, allocations: 23.98 kB / 1.001 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005398/0.7204, allocations: 387.1 kB / 1.001 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7204, allocations: 0 / 1.001 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009298/0.7213, allocations: 224 kB / 1.001 GB, free: 10.73 MB / 0.7637 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.0001715/0.7215, allocations: 115.2 kB / 1.001 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.7235, allocations: 1.26 MB / 1.003 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7235, allocations: 4 kB / 1.003 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.7248, allocations: 0.8974 MB / 1.004 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7258, allocations: 204.3 kB / 1.004 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.7283, allocations: 1.718 MB / 1.005 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/0.729, allocations: 1.012 MB / 1.006 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.7292, allocations: 47.42 kB / 1.007 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/0.7292, allocations: 4 kB / 1.007 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of Templates: time 0.02538/0.7546, allocations: 20.85 MB / 1.027 GB, free: 0.4922 MB / 0.7794 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