Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001556/0.001556, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001552/0.001552, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 66.72 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3154, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.4902/0.8056, allocations: 30.49 MB / 1.094 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.8235, allocations: 13.45 MB / 1.107 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.8268, allocations: 127.2 kB / 1.107 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00774/0.8346, allocations: 2.983 MB / 1.11 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008089/0.8427, allocations: 2.455 MB / 1.112 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005441/0.8481, allocations: 1.85 MB / 1.114 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.8598, allocations: 7.639 MB / 1.122 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.8745, allocations: 9.937 MB / 1.131 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/0.8812, allocations: 3.464 MB / 1.135 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00687/0.8881, allocations: 3.536 MB / 1.138 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.8897, allocations: 0.6 MB / 1.139 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.8939, allocations: 1.493 MB / 1.14 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003542/0.8974, allocations: 2.362 MB / 1.143 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005572/0.903, allocations: 2.886 MB / 1.145 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009885/0.9129, allocations: 7.996 MB / 1.153 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.9129, allocations: 0 / 1.153 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9129, allocations: 0 / 1.153 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002387/0.9132, allocations: 1.188 kB / 1.153 GB, free: 9.211 MB / 0.8731 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.01295/0.9262, allocations: 5.141 MB / 1.158 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9262, allocations: 8.594 kB / 1.158 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/0.9322, allocations: 0.9981 MB / 1.159 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/0.9382, allocations: 2.885 MB / 1.162 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.9384, allocations: 314.4 kB / 1.162 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008046/0.9392, allocations: 426.8 kB / 1.163 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.9513, allocations: 6.79 MB / 1.169 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.9515, allocations: 31.7 kB / 1.169 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004889/0.952, allocations: 184 kB / 1.17 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008723/0.9529, allocations: 368 kB / 1.17 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009008/0.9619, allocations: 5.122 MB / 1.175 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/0.9982, allocations: 30.74 MB / 1.205 GB, free: 7.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/1, allocations: 1.383 MB / 1.206 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/1.002, allocations: 1.328 MB / 1.208 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/1.002, allocations: 17.31 kB / 1.208 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.002, allocations: 55.81 kB / 1.208 GB, free: 4.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 2.785e-06/1.002, allocations: 0 / 1.208 GB, free: 4.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.08345/1.086, allocations: 23.08 MB / 1.23 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/1.086, allocations: 77.41 kB / 1.23 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/1.089, allocations: 2.055 MB / 1.232 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/1.089, allocations: 57.7 kB / 1.232 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/1.091, allocations: 2.01 MB / 1.234 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007186/1.091, allocations: 0.6778 MB / 1.235 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000764/1.092, allocations: 412.1 kB / 1.235 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.092, allocations: 305.1 kB / 1.236 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/1.094, allocations: 1.433 MB / 1.237 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/1.097, allocations: 2.017 MB / 1.239 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005043/1.102, allocations: 3.692 MB / 1.243 GB, free: 116 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.102, allocations: 4 kB / 1.243 GB, free: 112 kB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01134/1.114, allocations: 5.661 MB / 1.248 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.114, allocations: 12 kB / 1.248 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.114, allocations: 16 kB / 1.248 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006806/1.12, allocations: 2.104 MB / 1.25 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.122, allocations: 375.4 kB / 1.251 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04209/1.164, allocations: 38.46 MB / 1.288 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.167, allocations: 123.9 kB / 1.288 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.167, allocations: 88 kB / 1.288 GB, free: 14.63 MB / 1.014 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.002987/1.17, allocations: 1.504 MB / 1.29 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005782/1.17, allocations: 284.6 kB / 1.29 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.181, allocations: 5.223 MB / 1.295 GB, free: 7.535 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/1.181, allocations: 20 kB / 1.295 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.494e-05/1.181, allocations: 20 kB / 1.295 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/1.181, allocations: 11.95 kB / 1.295 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.199, allocations: 9.665 MB / 1.305 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.199, allocations: 7.938 kB / 1.305 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/1.2, allocations: 215.7 kB / 1.305 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00573/1.206, allocations: 1.858 MB / 1.307 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/1.206, allocations: 47.94 kB / 1.307 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04036/1.246, allocations: 37.46 MB / 1.343 GB, free: 3.434 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-05/1.247, allocations: 11.94 kB / 1.343 GB, free: 3.422 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.257, allocations: 4.916 MB / 1.348 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.258, allocations: 0.607 MB / 1.349 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004655/1.259, allocations: 47.91 kB / 1.349 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.26, allocations: 135.8 kB / 1.349 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006539/1.261, allocations: 185.6 kB / 1.349 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.261, allocations: 64.17 kB / 1.349 GB, free: 13.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00215/1.263, allocations: 1.371 MB / 1.351 GB, free: 11.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.263, allocations: 0 / 1.351 GB, free: 11.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004304/1.268, allocations: 1.047 MB / 1.352 GB, free: 10.87 MB / 1.076 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.0004773/1.268, allocations: 181.7 kB / 1.352 GB, free: 10.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01341/1.281, allocations: 7.217 MB / 1.359 GB, free: 3.234 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.282, allocations: 0 / 1.359 GB, free: 3.234 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007046/1.289, allocations: 4.403 MB / 1.363 GB, free: 14.61 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/1.293, allocations: 0.9959 MB / 1.364 GB, free: 13.64 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.309, allocations: 10.62 MB / 1.374 GB, free: 2.926 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/1.313, allocations: 3.187 MB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/1.314, allocations: 155.4 kB / 1.378 GB, free: 15.55 MB / 1.107 GB Notification: Performance of SimCode: time 6.11e-07/1.314, allocations: 4 kB / 1.378 GB, free: 15.54 MB / 1.107 GB Notification: Performance of Templates: time 0.7581/2.072, allocations: 464.6 MB / 1.831 GB, free: 177.2 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches