Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,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.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.92 kB / 16.02 MB, free: 80 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.001173/0.001173, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.281 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.436/2.436, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.000396, allocations: 19.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7531/0.7535, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005775/0.7593, allocations: 5.748 MB / 0.9613 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004247/0.7636, allocations: 3.149 MB / 0.9644 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.764, allocations: 25.16 kB / 0.9644 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.7643, allocations: 118.3 kB / 0.9645 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008736/0.7652, allocations: 444.2 kB / 0.965 GB, free: 364 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000978/0.7662, allocations: 467.2 kB / 0.9654 GB, free: 4 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.7678, allocations: 1.46 MB / 0.9668 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.7695, allocations: 0.9922 MB / 0.9678 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.7701, allocations: 365.8 kB / 0.9682 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.7707, allocations: 446.2 kB / 0.9686 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.7708, allocations: 30.16 kB / 0.9686 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.7719, allocations: 0.5699 MB / 0.9692 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.7722, allocations: 255.3 kB / 0.9694 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.7726, allocations: 391.5 kB / 0.9698 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.7737, allocations: 0.8939 MB / 0.9707 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7737, allocations: 0.9062 kB / 0.9707 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7737, allocations: 0 / 0.9707 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7738, allocations: 4 kB / 0.9707 GB, free: 12.77 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001402/0.7752, allocations: 0.9183 MB / 0.9716 GB, free: 12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.7752, allocations: 8.844 kB / 0.9716 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.7767, allocations: 218.7 kB / 0.9718 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.7774, allocations: 0.5471 MB / 0.9723 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.7775, allocations: 50.05 kB / 0.9724 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.7776, allocations: 66.11 kB / 0.9724 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7791, allocations: 1.03 MB / 0.9734 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.7792, allocations: 7.125 kB / 0.9734 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.7793, allocations: 29.14 kB / 0.9735 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.7794, allocations: 78.05 kB / 0.9735 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.7805, allocations: 0.6913 MB / 0.9742 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.7855, allocations: 5.774 MB / 0.9798 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/0.7863, allocations: 0.5919 MB / 0.9804 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000789/0.7872, allocations: 418.6 kB / 0.9808 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.7872, allocations: 4.812 kB / 0.9808 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.7872, allocations: 39.78 kB / 0.9809 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.7872, allocations: 0 / 0.9809 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004468/0.7917, allocations: 2.071 MB / 0.9829 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.7918, allocations: 59.41 kB / 0.9829 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.7923, allocations: 466.7 kB / 0.9834 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.7923, allocations: 29.7 kB / 0.9834 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.7926, allocations: 391 kB / 0.9838 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.7927, allocations: 149.9 kB / 0.9839 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.7928, allocations: 49.69 kB / 0.984 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.793, allocations: 362.8 kB / 0.9843 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.7934, allocations: 245.2 kB / 0.9846 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.7938, allocations: 465 kB / 0.985 GB, free: 412 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.7948, allocations: 0.7519 MB / 0.9857 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7948, allocations: 4 kB / 0.9857 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001855/0.7967, allocations: 1.062 MB / 0.9868 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7967, allocations: 12.03 kB / 0.9868 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7967, allocations: 4 kB / 0.9868 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.7977, allocations: 331.1 kB / 0.9871 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.7981, allocations: 99.81 kB / 0.9872 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.8049, allocations: 6.955 MB / 0.994 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.8054, allocations: 32.02 kB / 0.994 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.8054, allocations: 31.94 kB / 0.9941 GB, free: 6.465 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.8058, allocations: 245.5 kB / 0.9943 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.8059, allocations: 59.34 kB / 0.9943 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.8076, allocations: 0.9117 MB / 0.9952 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8077, allocations: 4 kB / 0.9952 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.8077, allocations: 4 kB / 0.9952 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8077, allocations: 0 / 0.9952 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.8104, allocations: 1.7 MB / 0.9969 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.8104, allocations: 4 kB / 0.9969 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.8106, allocations: 39.97 kB / 0.9969 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/0.8116, allocations: 327.2 kB / 0.9973 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.8116, allocations: 11.98 kB / 0.9973 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006697/0.8183, allocations: 6.955 MB / 1.004 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8183, allocations: 0 / 1.004 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.8202, allocations: 1.015 MB / 1.005 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.8205, allocations: 180.4 kB / 1.005 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/0.8206, allocations: 4 kB / 1.005 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.8209, allocations: 27.92 kB / 1.005 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.821, allocations: 39.88 kB / 1.005 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.8211, allocations: 23.94 kB / 1.005 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003575/0.8214, allocations: 310.9 kB / 1.006 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8214, allocations: 0 / 1.006 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008438/0.8223, allocations: 196 kB / 1.006 GB, free: 9.703 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001587/0.8224, allocations: 115.1 kB / 1.006 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.8244, allocations: 1.191 MB / 1.007 GB, free: 8.34 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8244, allocations: 0 / 1.007 GB, free: 8.34 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.8256, allocations: 0.8696 MB / 1.008 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8268, allocations: 190.6 kB / 1.008 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.8293, allocations: 1.611 MB / 1.01 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/0.8299, allocations: 0.9921 MB / 1.011 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.8301, allocations: 39.44 kB / 1.011 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/0.8301, allocations: 0 / 1.011 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of Templates: time 0.02342/0.8535, allocations: 18.57 MB / 1.029 GB, free: 1.969 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches