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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001234/0.001234, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001234/0.001234, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 65.19 kB / 0.8127 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2718, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03569/0.3075, allocations: 30.49 MB / 0.9796 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.3296, allocations: 13.46 MB / 0.9927 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.3332, allocations: 131.2 kB / 0.9928 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.008399/0.3417, allocations: 2.977 MB / 0.9957 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00836/0.35, allocations: 2.456 MB / 0.9981 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005746/0.3558, allocations: 1.847 MB / 0.9999 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.3661, allocations: 7.645 MB / 1.007 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01647/0.3826, allocations: 9.926 MB / 1.017 GB, free: 4.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006513/0.3892, allocations: 3.466 MB / 1.02 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005966/0.3951, allocations: 3.532 MB / 1.024 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002012/0.3972, allocations: 0.5938 MB / 1.025 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.4015, allocations: 1.498 MB / 1.026 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003866/0.4054, allocations: 2.366 MB / 1.028 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006925/0.4124, allocations: 2.878 MB / 1.031 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009959/0.4224, allocations: 8.005 MB / 1.039 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4224, allocations: 0 / 1.039 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4224, allocations: 7.938 kB / 1.039 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003462/0.4228, allocations: 0 / 1.039 GB, free: 13.62 MB / 0.8262 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.01475/0.4375, allocations: 5.14 MB / 1.044 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.4376, allocations: 11.97 kB / 1.044 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006944/0.4445, allocations: 0.9903 MB / 1.045 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006409/0.451, allocations: 2.903 MB / 1.048 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.4513, allocations: 308.9 kB / 1.048 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.4528, allocations: 428 kB / 1.048 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.4684, allocations: 6.791 MB / 1.055 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002018/0.4687, allocations: 23.77 kB / 1.055 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/0.4698, allocations: 184 kB / 1.055 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009689/0.4708, allocations: 372 kB / 1.056 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.4812, allocations: 5.118 MB / 1.061 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4865/0.9677, allocations: 30.73 MB / 1.091 GB, free: 108.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.9703, allocations: 1.387 MB / 1.092 GB, free: 108.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.9728, allocations: 1.327 MB / 1.093 GB, free: 108.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.9729, allocations: 14.88 kB / 1.093 GB, free: 108.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.973, allocations: 50.3 kB / 1.093 GB, free: 108.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.247e-06/0.973, allocations: 0 / 1.093 GB, free: 108.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.09986/1.073, allocations: 23.08 MB / 1.116 GB, free: 104.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/1.073, allocations: 72.06 kB / 1.116 GB, free: 104.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005142/1.078, allocations: 2.061 MB / 1.118 GB, free: 103.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004857/1.079, allocations: 58.61 kB / 1.118 GB, free: 103.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.08, allocations: 2.013 MB / 1.12 GB, free: 102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009576/1.081, allocations: 0.6793 MB / 1.121 GB, free: 101.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/1.083, allocations: 414.7 kB / 1.121 GB, free: 101.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/1.083, allocations: 302.5 kB / 1.121 GB, free: 101 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/1.085, allocations: 1.425 MB / 1.123 GB, free: 100.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/1.088, allocations: 2.019 MB / 1.125 GB, free: 98.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/1.092, allocations: 3.694 MB / 1.128 GB, free: 96.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/1.092, allocations: 9.312 kB / 1.128 GB, free: 96.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01039/1.103, allocations: 5.65 MB / 1.134 GB, free: 93.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/1.103, allocations: 17.66 kB / 1.134 GB, free: 93.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.103, allocations: 19.61 kB / 1.134 GB, free: 93.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006051/1.109, allocations: 2.095 MB / 1.136 GB, free: 92.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.11, allocations: 372 kB / 1.136 GB, free: 91.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0291/1.139, allocations: 38.46 MB / 1.174 GB, free: 57.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.142, allocations: 131.9 kB / 1.174 GB, free: 57.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003388/1.142, allocations: 91.83 kB / 1.174 GB, free: 57.36 MB / 0.8575 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.002317/1.145, allocations: 1.508 MB / 1.176 GB, free: 55.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006656/1.145, allocations: 284.7 kB / 1.176 GB, free: 55.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008693/1.154, allocations: 5.215 MB / 1.181 GB, free: 50.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.154, allocations: 23.66 kB / 1.181 GB, free: 50.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-05/1.154, allocations: 20 kB / 1.181 GB, free: 50.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/1.154, allocations: 7.969 kB / 1.181 GB, free: 50.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.17, allocations: 9.666 MB / 1.19 GB, free: 40.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.17, allocations: 16.03 kB / 1.19 GB, free: 40.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/1.171, allocations: 215.6 kB / 1.191 GB, free: 40.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005249/1.176, allocations: 1.855 MB / 1.192 GB, free: 38.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.177, allocations: 44 kB / 1.192 GB, free: 38.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/1.204, allocations: 37.47 MB / 1.229 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.204, allocations: 4 kB / 1.229 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009673/1.214, allocations: 4.916 MB / 1.234 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.216, allocations: 0.6109 MB / 1.234 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00077/1.217, allocations: 47.89 kB / 1.235 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.218, allocations: 131.8 kB / 1.235 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006933/1.219, allocations: 185.6 kB / 1.235 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.219, allocations: 56 kB / 1.235 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00239/1.222, allocations: 1.382 MB / 1.236 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.222, allocations: 0 / 1.236 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004353/1.226, allocations: 1.047 MB / 1.237 GB, free: 5.734 MB / 0.8731 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.0004077/1.227, allocations: 167 kB / 1.237 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.239, allocations: 7.219 MB / 1.244 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.239, allocations: 0 / 1.244 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006985/1.246, allocations: 4.398 MB / 1.249 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/1.251, allocations: 0.9908 MB / 1.25 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.269, allocations: 10.63 MB / 1.26 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/1.273, allocations: 3.178 MB / 1.263 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/1.274, allocations: 163.4 kB / 1.263 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of SimCode: time 1.252e-06/1.274, allocations: 0 / 1.263 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.8216/2.095, allocations: 464.7 MB / 1.717 GB, free: 212.6 MB / 1.139 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