Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007351/0.007351, allocations: 102.3 kB / 15.73 MB, free: 6.066 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.001699/0.0017, allocations: 198.8 kB / 16.68 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 59.91 kB / 1.054 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8247, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03453/0.8593, allocations: 30.77 MB / 1.238 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.8813, allocations: 13.57 MB / 1.251 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/0.8842, allocations: 143.2 kB / 1.251 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008383/0.8927, allocations: 3.194 MB / 1.254 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007999/0.9007, allocations: 2.656 MB / 1.257 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005226/0.906, allocations: 2.022 MB / 1.259 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.9163, allocations: 7.622 MB / 1.266 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.9296, allocations: 8.236 MB / 1.274 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006399/0.936, allocations: 3.467 MB / 1.278 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00573/0.9418, allocations: 3.387 MB / 1.281 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.9436, allocations: 0.5977 MB / 1.282 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.9473, allocations: 1.49 MB / 1.283 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00333/0.9507, allocations: 2.362 MB / 1.285 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005258/0.9559, allocations: 2.89 MB / 1.288 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.9669, allocations: 9.461 MB / 1.297 GB, free: 1.305 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.967, allocations: 0 / 1.297 GB, free: 1.305 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.967, allocations: 0 / 1.297 GB, free: 1.305 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002483/0.9672, allocations: 0 / 1.297 GB, free: 1.305 MB / 1.014 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.01234/0.9796, allocations: 5.132 MB / 1.302 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.9796, allocations: 8.031 kB / 1.302 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006162/0.9858, allocations: 1.006 MB / 1.303 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007351/0.9932, allocations: 3.071 MB / 1.306 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.9935, allocations: 316.8 kB / 1.307 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.9947, allocations: 424 kB / 1.307 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/1.007, allocations: 6.791 MB / 1.314 GB, free: 112 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/1.007, allocations: 23.78 kB / 1.314 GB, free: 88 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000571/1.008, allocations: 188 kB / 1.314 GB, free: 15.9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008672/1.009, allocations: 368 kB / 1.314 GB, free: 15.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008949/1.018, allocations: 5.11 MB / 1.319 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/1.051, allocations: 30.51 MB / 1.349 GB, free: 9.129 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/1.053, allocations: 1.391 MB / 1.35 GB, free: 7.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/1.054, allocations: 1.332 MB / 1.352 GB, free: 6.398 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.055, allocations: 13.31 kB / 1.352 GB, free: 6.387 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/1.055, allocations: 47.88 kB / 1.352 GB, free: 6.332 MB / 1.076 GB Notification: Performance of pre-optimization done (n=130): time 3.346e-06/1.055, allocations: 4 kB / 1.352 GB, free: 6.328 MB / 1.076 GB Notification: Performance of matching and sorting (n=199): time 0.08927/1.144, allocations: 23.09 MB / 1.374 GB, free: 15.12 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/1.144, allocations: 69.41 kB / 1.374 GB, free: 15.04 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/1.147, allocations: 2.062 MB / 1.376 GB, free: 12.96 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003116/1.147, allocations: 73.58 kB / 1.377 GB, free: 12.88 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/1.148, allocations: 2.006 MB / 1.379 GB, free: 10.85 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/1.149, allocations: 0.6777 MB / 1.379 GB, free: 10.16 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007126/1.15, allocations: 404.2 kB / 1.38 GB, free: 9.762 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.15, allocations: 309.1 kB / 1.38 GB, free: 9.457 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/1.152, allocations: 1.433 MB / 1.381 GB, free: 8.02 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/1.154, allocations: 2.01 MB / 1.383 GB, free: 5.758 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/1.159, allocations: 3.692 MB / 1.387 GB, free: 1.828 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.159, allocations: 4 kB / 1.387 GB, free: 1.824 MB / 1.107 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.011/1.17, allocations: 5.664 MB / 1.392 GB, free: 12.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/1.17, allocations: 12 kB / 1.392 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.17, allocations: 16 kB / 1.392 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006836/1.177, allocations: 2.088 MB / 1.394 GB, free: 9.918 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.179, allocations: 379.4 kB / 1.395 GB, free: 9.547 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03857/1.217, allocations: 38.43 MB / 1.432 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/1.22, allocations: 123.9 kB / 1.432 GB, free: 476 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.22, allocations: 91.98 kB / 1.433 GB, free: 384 kB / 1.154 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.002416/1.223, allocations: 1.504 MB / 1.434 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005646/1.223, allocations: 288.7 kB / 1.434 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.233, allocations: 5.211 MB / 1.439 GB, free: 9.285 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/1.233, allocations: 20 kB / 1.439 GB, free: 9.266 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.971e-05/1.234, allocations: 20 kB / 1.439 GB, free: 9.246 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/1.234, allocations: 7.969 kB / 1.439 GB, free: 9.238 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/1.252, allocations: 9.677 MB / 1.449 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.252, allocations: 8 kB / 1.449 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/1.253, allocations: 215.6 kB / 1.449 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005945/1.259, allocations: 1.85 MB / 1.451 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.259, allocations: 36 kB / 1.451 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03682/1.296, allocations: 37.43 MB / 1.487 GB, free: 5.227 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.296, allocations: 11.94 kB / 1.487 GB, free: 5.215 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009518/1.306, allocations: 4.917 MB / 1.492 GB, free: 140 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/1.307, allocations: 0.6149 MB / 1.493 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005604/1.308, allocations: 44 kB / 1.493 GB, free: 15.45 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.31, allocations: 127.8 kB / 1.493 GB, free: 15.33 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005851/1.31, allocations: 201.5 kB / 1.493 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.31, allocations: 56 kB / 1.493 GB, free: 15.08 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001855/1.312, allocations: 1.378 MB / 1.495 GB, free: 13.69 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.9e-07/1.312, allocations: 0 / 1.495 GB, free: 13.69 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003257/1.315, allocations: 1.047 MB / 1.496 GB, free: 12.64 MB / 1.232 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.0003101/1.316, allocations: 167 kB / 1.496 GB, free: 12.47 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009807/1.326, allocations: 6.292 MB / 1.502 GB, free: 5.949 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.326, allocations: 0 / 1.502 GB, free: 5.949 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.006902/1.333, allocations: 4.406 MB / 1.506 GB, free: 1.312 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/1.337, allocations: 0.9885 MB / 1.507 GB, free: 360 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.351, allocations: 8.048 MB / 1.515 GB, free: 8.219 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/1.355, allocations: 3.132 MB / 1.518 GB, free: 5.051 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001875/1.356, allocations: 0.5237 MB / 1.519 GB, free: 4.523 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/1.357, allocations: 143.4 kB / 1.519 GB, free: 4.383 MB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/1.357, allocations: 0 / 1.519 GB, free: 4.383 MB / 1.248 GB Notification: Performance of Templates: time 0.6947/2.052, allocations: 59.74 MB / 1.577 GB, free: 315.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches