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.001231/0.001232, allocations: 108.5 kB / 16.37 MB, free: 6.48 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.001072/0.001072, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.95 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03434/0.3375, allocations: 30.76 MB / 0.9812 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02133/0.3588, allocations: 13.6 MB / 0.9945 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/0.3624, allocations: 143.2 kB / 0.9946 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.008123/0.3706, allocations: 3.203 MB / 0.9977 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007938/0.3785, allocations: 2.657 MB / 1 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005658/0.3842, allocations: 2.011 MB / 1.002 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01136/0.3956, allocations: 7.617 MB / 1.01 GB, free: 11.89 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.4058, allocations: 8.229 MB / 1.018 GB, free: 3.539 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005531/0.4113, allocations: 3.408 MB / 1.021 GB, free: 124 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005265/0.4166, allocations: 3.387 MB / 1.024 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.4179, allocations: 0.5938 MB / 1.025 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.4214, allocations: 1.494 MB / 1.026 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.424, allocations: 2.374 MB / 1.029 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004325/0.4283, allocations: 2.882 MB / 1.032 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009195/0.4375, allocations: 9.453 MB / 1.041 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4376, allocations: 3.938 kB / 1.041 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4376, allocations: 4 kB / 1.041 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002217/0.4378, allocations: 0 / 1.041 GB, free: 11.87 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.01149/0.4493, allocations: 5.14 MB / 1.046 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4494, allocations: 8.031 kB / 1.046 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006061/0.4554, allocations: 1.002 MB / 1.047 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008557/0.464, allocations: 3.071 MB / 1.05 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/0.4644, allocations: 316.8 kB / 1.05 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.4662, allocations: 420 kB / 1.051 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/0.4809, allocations: 6.795 MB / 1.057 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.481, allocations: 15.84 kB / 1.057 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005287/0.4816, allocations: 184 kB / 1.057 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008147/0.4824, allocations: 376 kB / 1.058 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00981/0.4922, allocations: 5.114 MB / 1.063 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4653/0.9575, allocations: 30.51 MB / 1.092 GB, free: 108.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.96, allocations: 1.381 MB / 1.094 GB, free: 108.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.9621, allocations: 1.327 MB / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.9622, allocations: 14.86 kB / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.9623, allocations: 51.19 kB / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.536e-06/0.9623, allocations: 0 / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.0884/1.051, allocations: 23.08 MB / 1.118 GB, free: 103.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.051, allocations: 75.03 kB / 1.118 GB, free: 103.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.054, allocations: 2.062 MB / 1.12 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000313/1.054, allocations: 61.7 kB / 1.12 GB, free: 102.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.055, allocations: 2.007 MB / 1.122 GB, free: 101.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000565/1.056, allocations: 0.6805 MB / 1.122 GB, free: 100.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007185/1.057, allocations: 409.8 kB / 1.123 GB, free: 100.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.041e-05/1.057, allocations: 301.1 kB / 1.123 GB, free: 99.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/1.059, allocations: 1.432 MB / 1.125 GB, free: 99.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/1.061, allocations: 2.02 MB / 1.127 GB, free: 97.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/1.065, allocations: 3.695 MB / 1.13 GB, free: 95.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.065, allocations: 3.938 kB / 1.13 GB, free: 95.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01007/1.075, allocations: 5.66 MB / 1.136 GB, free: 92.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/1.075, allocations: 11.78 kB / 1.136 GB, free: 92.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/1.075, allocations: 16.25 kB / 1.136 GB, free: 92.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/1.081, allocations: 2.084 MB / 1.138 GB, free: 90.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.083, allocations: 385.1 kB / 1.138 GB, free: 90.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/1.113, allocations: 38.42 MB / 1.176 GB, free: 55.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/1.116, allocations: 127.9 kB / 1.176 GB, free: 55.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.116, allocations: 99.31 kB / 1.176 GB, free: 55.49 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.002829/1.119, allocations: 1.506 MB / 1.177 GB, free: 53.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006648/1.12, allocations: 282.3 kB / 1.178 GB, free: 53.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/1.128, allocations: 5.223 MB / 1.183 GB, free: 48.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.128, allocations: 20 kB / 1.183 GB, free: 48.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-05/1.128, allocations: 20 kB / 1.183 GB, free: 48.37 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/1.128, allocations: 11.95 kB / 1.183 GB, free: 48.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/1.146, allocations: 9.667 MB / 1.192 GB, free: 38.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/1.146, allocations: 8 kB / 1.192 GB, free: 38.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008755/1.147, allocations: 219.6 kB / 1.192 GB, free: 38.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005569/1.153, allocations: 1.839 MB / 1.194 GB, free: 36.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002575/1.153, allocations: 52 kB / 1.194 GB, free: 36.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02889/1.182, allocations: 37.42 MB / 1.231 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.182, allocations: 11.94 kB / 1.231 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009494/1.191, allocations: 4.913 MB / 1.236 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.194, allocations: 0.6147 MB / 1.236 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005213/1.194, allocations: 40 kB / 1.236 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.195, allocations: 131.8 kB / 1.236 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006773/1.196, allocations: 185.7 kB / 1.237 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.196, allocations: 56 kB / 1.237 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002065/1.198, allocations: 1.382 MB / 1.238 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.743e-06/1.198, allocations: 3.938 kB / 1.238 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004361/1.203, allocations: 1.055 MB / 1.239 GB, free: 3.906 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.0003786/1.203, allocations: 171.5 kB / 1.239 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.213, allocations: 6.291 MB / 1.245 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.213, allocations: 4 kB / 1.245 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006794/1.22, allocations: 4.394 MB / 1.25 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/1.225, allocations: 0.9867 MB / 1.251 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.24, allocations: 8.061 MB / 1.258 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003873/1.244, allocations: 3.123 MB / 1.261 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002041/1.246, allocations: 0.5237 MB / 1.262 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/1.247, allocations: 147.4 kB / 1.262 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of SimCode: time 1.453e-06/1.247, allocations: 4 kB / 1.262 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of Templates: time 0.09748/1.344, allocations: 57.71 MB / 1.318 GB, free: 2.945 MB / 0.9512 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 -s gbode -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