Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,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") 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_10_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.001517/0.001517, allocations: 100.1 kB / 15.88 MB, free: 12 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.001775/0.001775, allocations: 200 kB / 16.79 MB, free: 6.828 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001407, allocations: 63.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6253, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03194/0.6573, allocations: 30.52 MB / 1.047 GB, free: 4.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.6778, allocations: 13.55 MB / 1.06 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/0.6813, allocations: 131.2 kB / 1.06 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008132/0.6896, allocations: 2.968 MB / 1.063 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00796/0.6975, allocations: 2.468 MB / 1.066 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005547/0.7031, allocations: 1.848 MB / 1.068 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01223/0.7154, allocations: 10.43 MB / 1.078 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.015/0.7304, allocations: 9.065 MB / 1.087 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006211/0.7367, allocations: 2.962 MB / 1.089 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006254/0.743, allocations: 3.434 MB / 1.093 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.7451, allocations: 400 kB / 1.093 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004932/0.75, allocations: 1.529 MB / 1.095 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00377/0.7538, allocations: 2.159 MB / 1.097 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006223/0.7601, allocations: 2.648 MB / 1.099 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009084/0.7692, allocations: 7.943 MB / 1.107 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.7692, allocations: 4 kB / 1.107 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.025e-06/0.7693, allocations: 4 kB / 1.107 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003396/0.7696, allocations: 0 / 1.107 GB, free: 6.395 MB / 0.8575 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.01424/0.7839, allocations: 5.128 MB / 1.112 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.7839, allocations: 15.98 kB / 1.112 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/0.7905, allocations: 0.9941 MB / 1.113 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006562/0.7971, allocations: 2.888 MB / 1.116 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/0.7975, allocations: 316.8 kB / 1.116 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.7991, allocations: 431.9 kB / 1.117 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/0.8132, allocations: 6.787 MB / 1.123 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.8133, allocations: 23.84 kB / 1.123 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005267/0.8139, allocations: 184 kB / 1.124 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008703/0.8148, allocations: 372 kB / 1.124 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009974/0.8247, allocations: 5.11 MB / 1.129 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03664/0.8614, allocations: 30.74 MB / 1.159 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.8636, allocations: 1.387 MB / 1.16 GB, free: 12.79 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.8653, allocations: 1.332 MB / 1.162 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-05/0.8655, allocations: 17.31 kB / 1.162 GB, free: 11.44 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.8655, allocations: 51.81 kB / 1.162 GB, free: 11.38 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 3.015e-06/0.8655, allocations: 0 / 1.162 GB, free: 11.38 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.08843/0.954, allocations: 23.07 MB / 1.184 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.9541, allocations: 73.41 kB / 1.184 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003682/0.9577, allocations: 2.059 MB / 1.186 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003567/0.9581, allocations: 61.7 kB / 1.186 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.9596, allocations: 2.006 MB / 1.188 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008465/0.9605, allocations: 0.6777 MB / 1.189 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.9615, allocations: 420.1 kB / 1.189 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.9617, allocations: 305.1 kB / 1.19 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/0.964, allocations: 1.43 MB / 1.191 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/0.9668, allocations: 2.013 MB / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005408/0.9722, allocations: 3.696 MB / 1.197 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/0.9723, allocations: 4 kB / 1.197 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01237/0.9846, allocations: 5.661 MB / 1.202 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.9847, allocations: 16.16 kB / 1.202 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.9847, allocations: 20 kB / 1.202 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007179/0.9919, allocations: 2.083 MB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.9936, allocations: 375.3 kB / 1.205 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03843/1.032, allocations: 35.49 MB / 1.239 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.034, allocations: 139.8 kB / 1.239 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/1.035, allocations: 88 kB / 1.239 GB, free: 8.492 MB / 0.9981 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.002771/1.038, allocations: 1.509 MB / 1.241 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/1.038, allocations: 280.6 kB / 1.241 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.049, allocations: 5.216 MB / 1.246 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/1.049, allocations: 20 kB / 1.246 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.769e-05/1.049, allocations: 20 kB / 1.246 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/1.049, allocations: 12.19 kB / 1.246 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5463/1.595, allocations: 9.669 MB / 1.256 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/1.595, allocations: 5.625 kB / 1.256 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.596, allocations: 219.8 kB / 1.256 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006853/1.603, allocations: 1.84 MB / 1.258 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003424/1.604, allocations: 39.41 kB / 1.258 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03211/1.636, allocations: 34.51 MB / 1.291 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.636, allocations: 11.03 kB / 1.291 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009146/1.645, allocations: 4.92 MB / 1.296 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.647, allocations: 0.6131 MB / 1.297 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008416/1.648, allocations: 43.8 kB / 1.297 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.65, allocations: 136 kB / 1.297 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008435/1.651, allocations: 191.7 kB / 1.297 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.651, allocations: 55.38 kB / 1.297 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00262/1.654, allocations: 1.377 MB / 1.299 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.654, allocations: 3.969 kB / 1.299 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004709/1.658, allocations: 1.044 MB / 1.3 GB, free: 175.6 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.0004765/1.659, allocations: 173.3 kB / 1.3 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009171/1.668, allocations: 6.264 MB / 1.306 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.668, allocations: 4.25 kB / 1.306 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006122/1.674, allocations: 4.389 MB / 1.31 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/1.679, allocations: 0.9198 MB / 1.311 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.695, allocations: 10.61 MB / 1.321 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/1.699, allocations: 3.182 MB / 1.325 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/1.699, allocations: 163.4 kB / 1.325 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.699, allocations: 0 / 1.325 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.8996/2.599, allocations: 464.7 MB / 1.779 GB, free: 388.9 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches