Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001625/0.001625, allocations: 198 kB / 16.91 MB, free: 6.199 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.378/1.378, 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.248/2.248, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.47 kB / 0.8127 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, allocations: 140.4 MB / 0.9498 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02516/0.2754, allocations: 22.43 MB / 0.9717 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2864, allocations: 6.178 MB / 0.9777 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.2886, allocations: 87.5 kB / 0.9778 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.2932, allocations: 1.42 MB / 0.9792 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.2973, allocations: 1.51 MB / 0.9807 GB, free: 9.555 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.3011, allocations: 1.227 MB / 0.9819 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00687/0.308, allocations: 5.959 MB / 0.9877 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01105/0.3191, allocations: 7.267 MB / 0.9948 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.3233, allocations: 2.445 MB / 0.9972 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004717/0.3281, allocations: 3.038 MB / 1 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.3294, allocations: 456 kB / 1.001 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.3324, allocations: 1.1 MB / 1.002 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002947/0.3354, allocations: 2.027 MB / 1.004 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004057/0.3394, allocations: 2.171 MB / 1.006 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006712/0.3462, allocations: 6.185 MB / 1.012 GB, free: 9.555 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3462, allocations: 0 / 1.012 GB, free: 9.555 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3462, allocations: 4 kB / 1.012 GB, free: 9.551 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002467/0.3465, allocations: 0 / 1.012 GB, free: 9.551 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.0093/0.3558, allocations: 3.82 MB / 1.016 GB, free: 5.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3558, allocations: 8.031 kB / 1.016 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006721/0.3626, allocations: 1.206 MB / 1.017 GB, free: 4.449 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/0.3672, allocations: 2.223 MB / 1.019 GB, free: 2.168 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.3674, allocations: 246.3 kB / 1.019 GB, free: 1.926 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.3685, allocations: 315.9 kB / 1.019 GB, free: 1.617 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.3811, allocations: 6.22 MB / 1.025 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.128e-05/0.3812, allocations: 15.84 kB / 1.025 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/0.3816, allocations: 136 kB / 1.026 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004679/0.3821, allocations: 410.2 kB / 1.026 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008533/0.3907, allocations: 4.658 MB / 1.031 GB, free: 5.922 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.4224, allocations: 29.13 MB / 1.059 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.4243, allocations: 1.419 MB / 1.06 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.4261, allocations: 1.487 MB / 1.062 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.4262, allocations: 9 kB / 1.062 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.4263, allocations: 51.55 kB / 1.062 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.105e-06/0.4263, allocations: 0 / 1.062 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.6291/1.055, allocations: 37.23 MB / 1.098 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/1.055, allocations: 74.84 kB / 1.098 GB, free: 123.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/1.058, allocations: 1.415 MB / 1.1 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003317/1.058, allocations: 56.52 kB / 1.1 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/1.059, allocations: 1.535 MB / 1.101 GB, free: 121.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006041/1.06, allocations: 0.6066 MB / 1.102 GB, free: 121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007396/1.061, allocations: 386.6 kB / 1.102 GB, free: 120.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/1.061, allocations: 306 kB / 1.103 GB, free: 120.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/1.063, allocations: 1.788 MB / 1.104 GB, free: 119.9 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/1.066, allocations: 2.348 MB / 1.107 GB, free: 118.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005379/1.071, allocations: 4.384 MB / 1.111 GB, free: 116.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/1.071, allocations: 5.844 kB / 1.111 GB, free: 116.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01782/1.089, allocations: 8.577 MB / 1.119 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/1.089, allocations: 11.88 kB / 1.119 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/1.089, allocations: 17.75 kB / 1.119 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01573/1.105, allocations: 4.664 MB / 1.124 GB, free: 109.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.106, allocations: 304.5 kB / 1.124 GB, free: 109.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03997/1.146, allocations: 32.62 MB / 1.156 GB, free: 82.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/1.149, allocations: 151.8 kB / 1.156 GB, free: 81.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004286/1.149, allocations: 85.36 kB / 1.156 GB, free: 81.86 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002416/1.151, allocations: 1.33 MB / 1.157 GB, free: 80.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/1.152, allocations: 193.7 kB / 1.158 GB, free: 80.33 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.167, allocations: 8.441 MB / 1.166 GB, free: 71.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.167, allocations: 19.94 kB / 1.166 GB, free: 71.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-05/1.167, allocations: 28 kB / 1.166 GB, free: 71.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-05/1.167, allocations: 7.969 kB / 1.166 GB, free: 71.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02229/1.189, allocations: 12.84 MB / 1.178 GB, free: 58.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/1.19, allocations: 10.31 kB / 1.179 GB, free: 58.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.19, allocations: 175.7 kB / 1.179 GB, free: 58.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01202/1.202, allocations: 4.51 MB / 1.183 GB, free: 54.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/1.203, allocations: 32 kB / 1.183 GB, free: 54.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0353/1.238, allocations: 32.23 MB / 1.215 GB, free: 21.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.238, allocations: 11.94 kB / 1.215 GB, free: 21.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.252, allocations: 8.236 MB / 1.223 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.253, allocations: 0.6156 MB / 1.223 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/1.253, allocations: 39.98 kB / 1.223 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.255, allocations: 135.8 kB / 1.223 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007674/1.255, allocations: 176.4 kB / 1.224 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.256, allocations: 51.94 kB / 1.224 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001007/1.257, allocations: 0.9627 MB / 1.225 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.257, allocations: 0 / 1.225 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003226/1.26, allocations: 1.113 MB / 1.226 GB, free: 9.562 MB / 0.8575 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/1.26, allocations: 147.1 kB / 1.226 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.271, allocations: 7.083 MB / 1.233 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.271, allocations: 4.25 kB / 1.233 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008124/1.279, allocations: 4.357 MB / 1.237 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.282, allocations: 0.5192 MB / 1.237 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.295, allocations: 8.941 MB / 1.246 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/1.298, allocations: 2.805 MB / 1.249 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.299, allocations: 99.44 kB / 1.249 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of SimCode: time 1.002e-06/1.299, allocations: 0 / 1.249 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of Templates: time 0.1554/1.454, allocations: 154 MB / 1.399 GB, free: 7.324 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches