Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008527/0.0008527, allocations: 92.08 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.0009947/0.0009947, allocations: 181.8 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.332 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.567/2.567, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6721, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0359/0.708, allocations: 32.21 MB / 0.9872 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02494/0.733, allocations: 14.64 MB / 1.001 GB, free: 432 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004463/0.7375, allocations: 139.2 kB / 1.002 GB, free: 292 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.7412, allocations: 0.7211 MB / 1.002 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.7515, allocations: 2.697 MB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006505/0.7581, allocations: 1.984 MB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01587/0.774, allocations: 12.2 MB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02072/0.7947, allocations: 11.53 MB / 1.03 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/0.8015, allocations: 2.957 MB / 1.033 GB, free: 28 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006989/0.8085, allocations: 3.507 MB / 1.036 GB, free: 12.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.8105, allocations: 292 kB / 1.037 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.8158, allocations: 1.56 MB / 1.038 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004278/0.8201, allocations: 2.287 MB / 1.04 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007199/0.8274, allocations: 2.796 MB / 1.043 GB, free: 5.551 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.8391, allocations: 9.206 MB / 1.052 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.8392, allocations: 0 / 1.052 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8392, allocations: 0 / 1.052 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004779/0.8397, allocations: 0 / 1.052 GB, free: 12.32 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01402/0.8537, allocations: 4.825 MB / 1.057 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.8538, allocations: 12.03 kB / 1.057 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008305/0.8621, allocations: 1.142 MB / 1.058 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00787/0.87, allocations: 3.328 MB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/0.8705, allocations: 378.4 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/0.8725, allocations: 500 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.8929, allocations: 7.997 MB / 1.07 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002968/0.8932, allocations: 31.75 kB / 1.07 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/0.8947, allocations: 216 kB / 1.07 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001244/0.8959, allocations: 437.6 kB / 1.071 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.9094, allocations: 6.085 MB / 1.076 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04781/0.9573, allocations: 35.24 MB / 1.111 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.9605, allocations: 2.022 MB / 1.113 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.9633, allocations: 1.85 MB / 1.115 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.9635, allocations: 21.98 kB / 1.115 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.9635, allocations: 60.5 kB / 1.115 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 3.677e-06/0.9635, allocations: 4 kB / 1.115 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.1566/1.12, allocations: 38.99 MB / 1.153 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/1.12, allocations: 77.58 kB / 1.153 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/1.124, allocations: 2.282 MB / 1.155 GB, free: 15.08 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000433/1.125, allocations: 73.7 kB / 1.155 GB, free: 15 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/1.126, allocations: 2.276 MB / 1.157 GB, free: 12.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/1.127, allocations: 0.928 MB / 1.158 GB, free: 11.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005159/1.128, allocations: 235.8 kB / 1.159 GB, free: 11.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.128, allocations: 309.1 kB / 1.159 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/1.131, allocations: 1.973 MB / 1.161 GB, free: 9.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/1.135, allocations: 2.602 MB / 1.163 GB, free: 6.387 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007022/1.142, allocations: 4.933 MB / 1.168 GB, free: 1.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/1.142, allocations: 8 kB / 1.168 GB, free: 1.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01564/1.157, allocations: 7.758 MB / 1.176 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/1.158, allocations: 17.34 kB / 1.176 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/1.158, allocations: 16 kB / 1.176 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009649/1.167, allocations: 3.205 MB / 1.179 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/1.169, allocations: 407.3 kB / 1.179 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04363/1.213, allocations: 31.17 MB / 1.21 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/1.216, allocations: 163.8 kB / 1.21 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005295/1.217, allocations: 108 kB / 1.21 GB, free: 5.449 MB / 0.9669 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00366/1.22, allocations: 1.793 MB / 1.212 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009035/1.221, allocations: 336.1 kB / 1.212 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.236, allocations: 7.36 MB / 1.219 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/1.236, allocations: 31.94 kB / 1.219 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-05/1.237, allocations: 28 kB / 1.219 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/1.237, allocations: 15.95 kB / 1.219 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/1.261, allocations: 12.93 MB / 1.232 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.261, allocations: 8 kB / 1.232 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.262, allocations: 231.6 kB / 1.232 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008667/1.271, allocations: 2.854 MB / 1.235 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/1.272, allocations: 56.12 kB / 1.235 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.583/1.855, allocations: 29.98 MB / 1.264 GB, free: 272.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/1.855, allocations: 14.86 kB / 1.264 GB, free: 272.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/1.87, allocations: 6.885 MB / 1.271 GB, free: 271.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.872, allocations: 0.7857 MB / 1.272 GB, free: 271.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.873, allocations: 52.53 kB / 1.272 GB, free: 271.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/1.876, allocations: 169.6 kB / 1.272 GB, free: 271.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/1.877, allocations: 254.5 kB / 1.272 GB, free: 271.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.877, allocations: 80.5 kB / 1.272 GB, free: 271.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00293/1.88, allocations: 1.525 MB / 1.274 GB, free: 271.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.88, allocations: 1.656 kB / 1.274 GB, free: 271.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00513/1.885, allocations: 1.367 MB / 1.275 GB, free: 271 MB / 1.014 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005633/1.886, allocations: 176.5 kB / 1.275 GB, free: 270.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.898, allocations: 6.91 MB / 1.282 GB, free: 267.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/1.898, allocations: 2.188 kB / 1.282 GB, free: 267.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008382/1.906, allocations: 4.422 MB / 1.286 GB, free: 265.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008075/1.914, allocations: 1.033 MB / 1.287 GB, free: 265.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.933, allocations: 13.18 MB / 1.3 GB, free: 258.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/1.938, allocations: 3.747 MB / 1.304 GB, free: 256.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/1.938, allocations: 176.9 kB / 1.304 GB, free: 256.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.114e-06/1.938, allocations: 0 / 1.304 GB, free: 256.9 MB / 1.014 GB Notification: Performance of Templates: time 0.1953/2.134, allocations: 226.7 MB / 1.525 GB, free: 35.41 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches