Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 99.5 kB / 16.02 MB, free: 76 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.001336/0.001336, allocations: 181.1 kB / 16.92 MB, free: 6.895 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.324 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.373/2.373, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.664, allocations: 142.4 MB / 0.9557 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03067/0.6947, allocations: 29.71 MB / 0.9847 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.7169, allocations: 13.41 MB / 0.9978 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003953/0.7209, allocations: 127.2 kB / 0.998 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002838/0.7237, allocations: 0.6512 MB / 0.9986 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00865/0.7324, allocations: 2.479 MB / 1.001 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.7375, allocations: 1.712 MB / 1.003 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.7495, allocations: 10.43 MB / 1.013 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/0.7666, allocations: 10.18 MB / 1.023 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006861/0.7735, allocations: 2.587 MB / 1.025 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.7786, allocations: 2.946 MB / 1.028 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.7799, allocations: 244 kB / 1.028 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.7835, allocations: 1.384 MB / 1.03 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002978/0.7865, allocations: 1.913 MB / 1.032 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005403/0.792, allocations: 2.384 MB / 1.034 GB, free: 14.9 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.8032, allocations: 7.772 MB / 1.042 GB, free: 7.105 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8032, allocations: 0 / 1.042 GB, free: 7.105 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8032, allocations: 0 / 1.042 GB, free: 7.105 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003594/0.8036, allocations: 0 / 1.042 GB, free: 7.105 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01097/0.8146, allocations: 4.154 MB / 1.046 GB, free: 2.875 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8146, allocations: 12.03 kB / 1.046 GB, free: 2.863 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006706/0.8213, allocations: 1.002 MB / 1.047 GB, free: 1.855 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006618/0.828, allocations: 2.888 MB / 1.049 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.8284, allocations: 316.8 kB / 1.05 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.8299, allocations: 420 kB / 1.05 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.846, allocations: 6.795 MB / 1.057 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/0.8462, allocations: 23.77 kB / 1.057 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001187/0.8474, allocations: 184 kB / 1.057 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009784/0.8484, allocations: 372 kB / 1.057 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.8592, allocations: 5.114 MB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03831/0.8976, allocations: 30.79 MB / 1.092 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.8999, allocations: 1.383 MB / 1.094 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.9018, allocations: 1.335 MB / 1.095 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.902, allocations: 17.22 kB / 1.095 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.902, allocations: 47.88 kB / 1.095 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 2.976e-06/0.902, allocations: 0 / 1.095 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08946/0.9915, allocations: 22.8 MB / 1.117 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.9916, allocations: 73.41 kB / 1.117 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/0.9956, allocations: 2.055 MB / 1.119 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003785/0.996, allocations: 57.7 kB / 1.12 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.9976, allocations: 2.014 MB / 1.121 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009496/0.9986, allocations: 0.6815 MB / 1.122 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.999, allocations: 190.3 kB / 1.122 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9992, allocations: 313 kB / 1.123 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/1.002, allocations: 1.43 MB / 1.124 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/1.004, allocations: 2.013 MB / 1.126 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00534/1.01, allocations: 3.684 MB / 1.13 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/1.01, allocations: 8 kB / 1.13 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01289/1.023, allocations: 5.653 MB / 1.135 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/1.023, allocations: 13.59 kB / 1.135 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.066e-05/1.023, allocations: 24 kB / 1.135 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007394/1.03, allocations: 2.091 MB / 1.137 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.032, allocations: 375.4 kB / 1.138 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04093/1.073, allocations: 35.55 MB / 1.172 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/1.076, allocations: 131.9 kB / 1.172 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000426/1.076, allocations: 96.53 kB / 1.172 GB, free: 10.56 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003304/1.079, allocations: 1.504 MB / 1.174 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007964/1.08, allocations: 280.7 kB / 1.174 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.092, allocations: 5.212 MB / 1.179 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/1.092, allocations: 20 kB / 1.179 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.285e-05/1.092, allocations: 23.98 kB / 1.179 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-05/1.092, allocations: 15.91 kB / 1.179 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/1.113, allocations: 9.665 MB / 1.189 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/1.113, allocations: 11.94 kB / 1.189 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/1.114, allocations: 215.6 kB / 1.189 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006194/1.12, allocations: 1.846 MB / 1.191 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/1.12, allocations: 36 kB / 1.191 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03764/1.158, allocations: 34.55 MB / 1.225 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.158, allocations: 8 kB / 1.225 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.168, allocations: 4.92 MB / 1.229 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.17, allocations: 0.6148 MB / 1.23 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007661/1.171, allocations: 40 kB / 1.23 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.172, allocations: 131.8 kB / 1.23 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006786/1.173, allocations: 193.6 kB / 1.23 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.173, allocations: 52 kB / 1.23 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002856/1.176, allocations: 1.386 MB / 1.232 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.176, allocations: 0 / 1.232 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004418/1.181, allocations: 1.047 MB / 1.233 GB, free: 9.859 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.0005203/1.181, allocations: 174.9 kB / 1.233 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.192, allocations: 6.284 MB / 1.239 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.192, allocations: 4 kB / 1.239 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007184/1.199, allocations: 4.395 MB / 1.243 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007175/1.206, allocations: 0.9146 MB / 1.244 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.225, allocations: 10.63 MB / 1.255 GB, free: 2.895 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4849/1.71, allocations: 3.17 MB / 1.258 GB, free: 267.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/1.71, allocations: 161.1 kB / 1.258 GB, free: 267.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.212e-06/1.71, allocations: 0 / 1.258 GB, free: 267.2 MB / 1.014 GB Notification: Performance of Templates: time 0.9172/2.628, allocations: 464.1 MB / 1.711 GB, free: 403.8 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches