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.001845/0.001845, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 194.6 kB / 16.53 MB, free: 6.672 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.498/2.498, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.7541, allocations: 140.4 MB / 0.9496 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007577/0.7617, allocations: 6.796 MB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004985/0.7667, allocations: 3.063 MB / 0.9592 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006183/0.7674, allocations: 32.25 kB / 0.9593 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.7696, allocations: 0.9515 MB / 0.9602 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.7708, allocations: 0.5076 MB / 0.9607 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.7718, allocations: 435.3 kB / 0.9611 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.7735, allocations: 1.232 MB / 0.9623 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009963/0.7745, allocations: 0.6618 MB / 0.9629 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.7752, allocations: 476.8 kB / 0.9634 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.7759, allocations: 0.5172 MB / 0.9639 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.7761, allocations: 69.94 kB / 0.964 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.777, allocations: 381.3 kB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.7773, allocations: 312 kB / 0.9646 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.7778, allocations: 451.8 kB / 0.9651 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.7792, allocations: 1.207 MB / 0.9662 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7792, allocations: 0 / 0.9662 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7792, allocations: 0 / 0.9662 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.7792, allocations: 1.219 kB / 0.9662 GB, free: 13.02 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.002166/0.7814, allocations: 1.174 MB / 0.9674 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7814, allocations: 9.219 kB / 0.9674 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.7831, allocations: 240.5 kB / 0.9676 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.7839, allocations: 0.5554 MB / 0.9682 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.784, allocations: 50.52 kB / 0.9682 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.7841, allocations: 62.52 kB / 0.9683 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.7856, allocations: 1.08 MB / 0.9693 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.7857, allocations: 14.81 kB / 0.9693 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.7858, allocations: 29.33 kB / 0.9694 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.7859, allocations: 84.66 kB / 0.9695 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.7871, allocations: 0.7495 MB / 0.9702 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.7925, allocations: 5.894 MB / 0.9759 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7936, allocations: 0.5607 MB / 0.9765 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.794, allocations: 328.4 kB / 0.9768 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.7941, allocations: 4.906 kB / 0.9768 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.7941, allocations: 41.59 kB / 0.9769 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/0.7941, allocations: 1.438 kB / 0.9769 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.004019/0.7981, allocations: 1.985 MB / 0.9788 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7982, allocations: 61.75 kB / 0.9788 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.7989, allocations: 0.5706 MB / 0.9794 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.7989, allocations: 36.2 kB / 0.9794 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.7992, allocations: 411.8 kB / 0.9798 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.7993, allocations: 172.7 kB / 0.98 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.7995, allocations: 131 kB / 0.9801 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7996, allocations: 376.3 kB / 0.9805 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.8, allocations: 273.8 kB / 0.9807 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.8006, allocations: 497 kB / 0.9812 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.8018, allocations: 0.8055 MB / 0.982 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.8019, allocations: 4 kB / 0.982 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001978/0.8039, allocations: 1.083 MB / 0.9831 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.8039, allocations: 8.938 kB / 0.9831 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.8039, allocations: 8 kB / 0.9831 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009423/0.8049, allocations: 287.4 kB / 0.9834 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.8054, allocations: 123.8 kB / 0.9835 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/0.812, allocations: 7.141 MB / 0.9904 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008485/0.8129, allocations: 31.97 kB / 0.9905 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.813, allocations: 32 kB / 0.9905 GB, free: 6.512 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.0004438/0.8134, allocations: 261.5 kB / 0.9908 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.8136, allocations: 75.16 kB / 0.9908 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.8152, allocations: 0.8847 MB / 0.9917 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8152, allocations: 8 kB / 0.9917 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8152, allocations: 4 kB / 0.9917 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8152, allocations: 0 / 0.9917 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.818, allocations: 1.728 MB / 0.9934 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.818, allocations: 0 / 0.9934 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.8183, allocations: 59.89 kB / 0.9935 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008073/0.8192, allocations: 279.5 kB / 0.9937 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.8192, allocations: 8 kB / 0.9937 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.8263, allocations: 7.122 MB / 1.001 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.8264, allocations: 0 / 1.001 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.828, allocations: 0.9913 MB / 1.002 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.8284, allocations: 192.2 kB / 1.002 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.8285, allocations: 12 kB / 1.002 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.8289, allocations: 27.91 kB / 1.002 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.8291, allocations: 48.02 kB / 1.002 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.8291, allocations: 12 kB / 1.002 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004938/0.8296, allocations: 395.1 kB / 1.002 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8296, allocations: 0 / 1.002 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009594/0.8306, allocations: 224 kB / 1.003 GB, free: 9.453 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.0001765/0.8308, allocations: 119.2 kB / 1.003 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.833, allocations: 1.334 MB / 1.004 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.833, allocations: 0 / 1.004 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.8343, allocations: 0.8936 MB / 1.005 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.8357, allocations: 226.1 kB / 1.005 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.8382, allocations: 1.354 MB / 1.006 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.8389, allocations: 1.012 MB / 1.007 GB, free: 4.336 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000533/0.8395, allocations: 122 kB / 1.007 GB, free: 4.215 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.8396, allocations: 43.44 kB / 1.007 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of SimCode: time 1.182e-06/0.8396, allocations: 0 / 1.007 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of Templates: time 0.02232/0.8619, allocations: 11.18 MB / 1.018 GB, free: 9.129 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/jenkins/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