Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008707/0.008707, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001686/0.001686, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.444/2.444, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.25 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3233, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.041/0.3644, allocations: 35.12 MB / 1.122 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.3841, allocations: 9.941 MB / 1.132 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006368/0.3906, allocations: 151.2 kB / 1.132 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.402, allocations: 3.814 MB / 1.136 GB, free: 356 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009409/0.4114, allocations: 2.134 MB / 1.138 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007705/0.4192, allocations: 1.964 MB / 1.14 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01397/0.4332, allocations: 7.975 MB / 1.148 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01859/0.4518, allocations: 9.537 MB / 1.157 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009199/0.4611, allocations: 3.416 MB / 1.16 GB, free: 7.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009333/0.4704, allocations: 3.742 MB / 1.164 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003137/0.4736, allocations: 0.6758 MB / 1.165 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00543/0.4791, allocations: 1.44 MB / 1.166 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005461/0.4846, allocations: 2.627 MB / 1.169 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.008941/0.4936, allocations: 3.101 MB / 1.172 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.512, allocations: 10.4 MB / 1.182 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.512, allocations: 4 kB / 1.182 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.385e-06/0.512, allocations: 0 / 1.182 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004265/0.5125, allocations: 0 / 1.182 GB, free: 1.102 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0172/0.5297, allocations: 5.542 MB / 1.187 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.5298, allocations: 8.031 kB / 1.187 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/0.535, allocations: 0.9812 MB / 1.188 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00817/0.5432, allocations: 3.2 MB / 1.191 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.5436, allocations: 361.9 kB / 1.192 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.5449, allocations: 468.3 kB / 1.192 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.5638, allocations: 7.907 MB / 1.2 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.564, allocations: 19.88 kB / 1.2 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007597/0.5648, allocations: 212 kB / 1.2 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005695/0.5654, allocations: 369.1 kB / 1.2 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.5793, allocations: 5.937 MB / 1.206 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04258/0.6219, allocations: 36.01 MB / 1.241 GB, free: 376 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.6255, allocations: 2.138 MB / 1.243 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/0.6274, allocations: 1.488 MB / 1.245 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-05/0.6275, allocations: 17.31 kB / 1.245 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.334e-05/0.6276, allocations: 63.75 kB / 1.245 GB, free: 12.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 4.028e-06/0.6276, allocations: 0 / 1.245 GB, free: 12.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.01457/0.6422, allocations: 7.606 MB / 1.252 GB, free: 4.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.6423, allocations: 68.72 kB / 1.252 GB, free: 4.691 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.6449, allocations: 1.857 MB / 1.254 GB, free: 2.809 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.6451, allocations: 57.7 kB / 1.254 GB, free: 2.746 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.6465, allocations: 2.18 MB / 1.256 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.6212/1.268, allocations: 0.584 MB / 1.257 GB, free: 154.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008941/1.269, allocations: 407.9 kB / 1.257 GB, free: 154.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/1.269, allocations: 303.4 kB / 1.258 GB, free: 154.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/1.271, allocations: 1.06 MB / 1.259 GB, free: 154.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/1.273, allocations: 1.766 MB / 1.26 GB, free: 153.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/1.277, allocations: 3.049 MB / 1.263 GB, free: 151.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-05/1.277, allocations: 6.438 kB / 1.263 GB, free: 151.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00765/1.285, allocations: 3.931 MB / 1.267 GB, free: 150.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/1.285, allocations: 16.31 kB / 1.267 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.402e-05/1.285, allocations: 23.47 kB / 1.267 GB, free: 150.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/1.288, allocations: 0.9269 MB / 1.268 GB, free: 149.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.29, allocations: 429.2 kB / 1.269 GB, free: 149.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/1.308, allocations: 22.78 MB / 1.291 GB, free: 130.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/1.31, allocations: 124.5 kB / 1.291 GB, free: 130.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/1.311, allocations: 93.61 kB / 1.291 GB, free: 130.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.002853/1.313, allocations: 1.649 MB / 1.293 GB, free: 129.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005475/1.314, allocations: 270.2 kB / 1.293 GB, free: 129.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/1.319, allocations: 3.264 MB / 1.296 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.319, allocations: 16.39 kB / 1.296 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.319, allocations: 9.125 kB / 1.296 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/1.319, allocations: 8.859 kB / 1.296 GB, free: 128.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.332, allocations: 7.54 MB / 1.303 GB, free: 125.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.332, allocations: 9.891 kB / 1.303 GB, free: 125.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/1.333, allocations: 222.9 kB / 1.304 GB, free: 125.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/1.335, allocations: 0.8921 MB / 1.305 GB, free: 124.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/1.335, allocations: 39.39 kB / 1.305 GB, free: 124.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.353, allocations: 22.74 MB / 1.327 GB, free: 105.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.353, allocations: 5.5 kB / 1.327 GB, free: 105.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005055/1.358, allocations: 3.397 MB / 1.33 GB, free: 103.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.359, allocations: 0.543 MB / 1.331 GB, free: 103.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/1.359, allocations: 35.52 kB / 1.331 GB, free: 103.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.36, allocations: 85.83 kB / 1.331 GB, free: 103.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/1.361, allocations: 138.9 kB / 1.331 GB, free: 103.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-05/1.361, allocations: 47.56 kB / 1.331 GB, free: 103.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00166/1.363, allocations: 1.223 MB / 1.332 GB, free: 103 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.363, allocations: 0 / 1.332 GB, free: 103 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003363/1.366, allocations: 0.9091 MB / 1.333 GB, free: 102.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002938/1.366, allocations: 158.3 kB / 1.333 GB, free: 102.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006207/1.372, allocations: 4.444 MB / 1.338 GB, free: 100.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.372, allocations: 7.594 kB / 1.338 GB, free: 100.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003392/1.376, allocations: 2.997 MB / 1.34 GB, free: 97.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.379, allocations: 0.8256 MB / 1.341 GB, free: 97.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.39, allocations: 7.721 MB / 1.349 GB, free: 91.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/1.392, allocations: 3.205 MB / 1.352 GB, free: 88.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001573/1.394, allocations: 0.5254 MB / 1.352 GB, free: 88.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/1.394, allocations: 143.4 kB / 1.353 GB, free: 87.95 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.394, allocations: 4 kB / 1.353 GB, free: 87.95 MB / 1.014 GB Notification: Performance of Templates: time 0.06193/1.456, allocations: 41.63 MB / 1.393 GB, free: 46.96 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches