Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00172/0.00172, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.001915/0.001915, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 60.16 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04137/0.3605, allocations: 33.34 MB / 1.051 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.3856, allocations: 14.83 MB / 1.065 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.389, allocations: 155.2 kB / 1.065 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009861/0.3989, allocations: 3.654 MB / 1.069 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008761/0.4077, allocations: 2.884 MB / 1.072 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0066/0.4143, allocations: 2.326 MB / 1.074 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5063/0.9206, allocations: 8.803 MB / 1.082 GB, free: 19.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/0.937, allocations: 9.64 MB / 1.092 GB, free: 17.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.9472, allocations: 3.937 MB / 1.096 GB, free: 17.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00921/0.9565, allocations: 4.041 MB / 1.1 GB, free: 16.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003636/0.9601, allocations: 0.7159 MB / 1.1 GB, free: 16.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007121/0.9673, allocations: 1.711 MB / 1.102 GB, free: 16.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006677/0.974, allocations: 2.831 MB / 1.105 GB, free: 16.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.9849, allocations: 3.388 MB / 1.108 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01847/1.003, allocations: 11.12 MB / 1.119 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.003, allocations: 1.344 kB / 1.119 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.883e-06/1.003, allocations: 4 kB / 1.119 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004527/1.004, allocations: 0 / 1.119 GB, free: 11.75 MB / 0.8419 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.02303/1.027, allocations: 5.973 MB / 1.125 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.027, allocations: 14.72 kB / 1.125 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009236/1.036, allocations: 1.139 MB / 1.126 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00887/1.045, allocations: 3.327 MB / 1.129 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/1.046, allocations: 378.6 kB / 1.13 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/1.048, allocations: 493 kB / 1.13 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/1.067, allocations: 8.01 MB / 1.138 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/1.068, allocations: 27.88 kB / 1.138 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/1.069, allocations: 220.9 kB / 1.138 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/1.071, allocations: 437.2 kB / 1.138 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/1.085, allocations: 6.082 MB / 1.144 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05396/1.139, allocations: 35.16 MB / 1.179 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/1.143, allocations: 2.02 MB / 1.181 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/1.146, allocations: 1.86 MB / 1.183 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/1.146, allocations: 22 kB / 1.183 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.308e-05/1.146, allocations: 56.56 kB / 1.183 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=171): time 4.609e-06/1.146, allocations: 7.938 kB / 1.183 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=276): time 0.1707/1.317, allocations: 38.88 MB / 1.221 GB, free: 0 / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.317, allocations: 84.86 kB / 1.221 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/1.321, allocations: 2.282 MB / 1.223 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006165/1.321, allocations: 74.27 kB / 1.223 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.323, allocations: 2.267 MB / 1.225 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.325, allocations: 0.937 MB / 1.226 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/1.326, allocations: 0.5062 MB / 1.227 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.326, allocations: 301.1 kB / 1.227 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/1.329, allocations: 1.978 MB / 1.229 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003918/1.333, allocations: 2.601 MB / 1.231 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007708/1.341, allocations: 4.925 MB / 1.236 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/1.341, allocations: 7.938 kB / 1.236 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01654/1.358, allocations: 7.765 MB / 1.244 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/1.358, allocations: 14.34 kB / 1.244 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.358, allocations: 20 kB / 1.244 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/1.368, allocations: 3.236 MB / 1.247 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.37, allocations: 404 kB / 1.247 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05161/1.422, allocations: 33.9 MB / 1.28 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/1.426, allocations: 163.8 kB / 1.281 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006725/1.426, allocations: 108 kB / 1.281 GB, free: 1.355 MB / 0.9825 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.004758/1.431, allocations: 1.799 MB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009945/1.432, allocations: 332.1 kB / 1.283 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.448, allocations: 7.362 MB / 1.29 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/1.448, allocations: 28 kB / 1.29 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-05/1.448, allocations: 32 kB / 1.29 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.704e-05/1.448, allocations: 11.95 kB / 1.29 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02876/1.477, allocations: 12.92 MB / 1.303 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.735e-05/1.477, allocations: 8.156 kB / 1.303 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.478, allocations: 231.6 kB / 1.303 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0089/1.487, allocations: 2.882 MB / 1.306 GB, free: 7.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000441/1.488, allocations: 48 kB / 1.306 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04836/1.536, allocations: 32.71 MB / 1.338 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/1.536, allocations: 11.94 kB / 1.338 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.551, allocations: 6.883 MB / 1.344 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/1.553, allocations: 0.7863 MB / 1.345 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009141/1.554, allocations: 48 kB / 1.345 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.556, allocations: 175.8 kB / 1.345 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008921/1.557, allocations: 253.5 kB / 1.346 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.557, allocations: 76 kB / 1.346 GB, free: 13.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002606/1.56, allocations: 1.521 MB / 1.347 GB, free: 12.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.21e-07/1.56, allocations: 0 / 1.347 GB, free: 12.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005448/1.565, allocations: 1.367 MB / 1.348 GB, free: 10.75 MB / 1.061 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.0005662/1.566, allocations: 186.9 kB / 1.349 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01693/1.583, allocations: 8.378 MB / 1.357 GB, free: 2.074 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.458e-05/1.583, allocations: 0 / 1.357 GB, free: 2.074 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.009964/1.593, allocations: 4.394 MB / 1.361 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007441/1.601, allocations: 1.12 MB / 1.362 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.628, allocations: 10.89 MB / 1.373 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007521/1.635, allocations: 3.745 MB / 1.377 GB, free: 13.79 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.636, allocations: 175.4 kB / 1.377 GB, free: 13.62 MB / 1.092 GB Notification: Performance of SimCode: time 1.192e-06/1.636, allocations: 7.938 kB / 1.377 GB, free: 13.61 MB / 1.092 GB Notification: Performance of Templates: time 0.757/2.393, allocations: 227.3 MB / 1.599 GB, free: 400.1 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches