Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001749/0.001749, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002364/0.002364, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.536/1.536, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.876, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0279/0.9039, allocations: 22.42 MB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.9164, allocations: 6.241 MB / 1.045 GB, free: 6.051 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.9192, allocations: 87.5 kB / 1.045 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004584/0.9238, allocations: 1.413 MB / 1.046 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.9291, allocations: 1.541 MB / 1.048 GB, free: 3 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.9334, allocations: 1.235 MB / 1.049 GB, free: 1.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.9447, allocations: 8.86 MB / 1.057 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/0.9571, allocations: 6.721 MB / 1.064 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.9617, allocations: 2.055 MB / 1.066 GB, free: 28 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.9674, allocations: 2.964 MB / 1.069 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.9688, allocations: 316 kB / 1.069 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.9725, allocations: 1.131 MB / 1.07 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003212/0.9757, allocations: 1.894 MB / 1.072 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003613/0.9793, allocations: 2.01 MB / 1.074 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008391/0.9877, allocations: 7.182 MB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.9878, allocations: 4 kB / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9878, allocations: 4 kB / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001896/0.988, allocations: 0 / 1.081 GB, free: 496 kB / 0.8262 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.008894/0.9969, allocations: 3.812 MB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.9969, allocations: 8.031 kB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/1.003, allocations: 1.213 MB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/1.008, allocations: 2.223 MB / 1.088 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/1.008, allocations: 234.4 kB / 1.088 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007621/1.009, allocations: 319.8 kB / 1.089 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/1.021, allocations: 6.216 MB / 1.095 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.913e-05/1.021, allocations: 15.88 kB / 1.095 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/1.022, allocations: 143.9 kB / 1.095 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005579/1.022, allocations: 406.3 kB / 1.095 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/1.034, allocations: 4.658 MB / 1.1 GB, free: 12.87 MB / 0.8575 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.04207/1.076, allocations: 29.14 MB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/1.078, allocations: 1.416 MB / 1.13 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/1.081, allocations: 1.491 MB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/1.081, allocations: 12.98 kB / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/1.081, allocations: 51.5 kB / 1.131 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.717e-06/1.081, allocations: 0 / 1.131 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.138/1.219, allocations: 37.23 MB / 1.168 GB, free: 4.711 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/1.219, allocations: 73.39 kB / 1.168 GB, free: 4.629 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/1.222, allocations: 1.419 MB / 1.169 GB, free: 3.203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004417/1.223, allocations: 53.7 kB / 1.169 GB, free: 3.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/1.224, allocations: 1.546 MB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009013/1.225, allocations: 0.6045 MB / 1.171 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008269/1.226, allocations: 383.3 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.226, allocations: 301.1 kB / 1.172 GB, free: 292 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002834/1.229, allocations: 1.788 MB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/1.232, allocations: 2.35 MB / 1.176 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006407/1.239, allocations: 4.394 MB / 1.18 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.239, allocations: 4 kB / 1.18 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01904/1.258, allocations: 8.559 MB / 1.189 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/1.258, allocations: 12 kB / 1.189 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/1.258, allocations: 20 kB / 1.189 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/1.273, allocations: 4.636 MB / 1.193 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.274, allocations: 303.4 kB / 1.193 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05186/1.326, allocations: 29.67 MB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/1.328, allocations: 147.8 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002396/1.329, allocations: 84.22 kB / 1.223 GB, free: 10.96 MB / 0.9825 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.002848/1.332, allocations: 1.334 MB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/1.332, allocations: 201.5 kB / 1.224 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/1.351, allocations: 8.433 MB / 1.232 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/1.351, allocations: 20 kB / 1.232 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.321e-05/1.351, allocations: 24 kB / 1.232 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/1.351, allocations: 11.95 kB / 1.232 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02992/1.381, allocations: 12.85 MB / 1.245 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/1.381, allocations: 8.781 kB / 1.245 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/1.382, allocations: 167.8 kB / 1.245 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6404/2.022, allocations: 4.477 MB / 1.25 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004663/2.023, allocations: 42.31 kB / 1.25 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04959/2.072, allocations: 29.27 MB / 1.278 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/2.072, allocations: 6.875 kB / 1.278 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/2.087, allocations: 8.239 MB / 1.286 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/2.088, allocations: 0.6124 MB / 1.287 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/2.089, allocations: 43.16 kB / 1.287 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/2.09, allocations: 138.7 kB / 1.287 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/2.091, allocations: 175.9 kB / 1.287 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/2.091, allocations: 49.22 kB / 1.287 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001057/2.092, allocations: 0.9577 MB / 1.288 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/2.092, allocations: 0 / 1.288 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003008/2.095, allocations: 1.113 MB / 1.289 GB, free: 196 MB / 0.9981 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.0002789/2.095, allocations: 162.2 kB / 1.289 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01024/2.106, allocations: 6.52 MB / 1.296 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/2.106, allocations: 0 / 1.296 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008073/2.114, allocations: 4.358 MB / 1.3 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/2.117, allocations: 490 kB / 1.3 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/2.129, allocations: 8.434 MB / 1.309 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/2.132, allocations: 2.719 MB / 1.311 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001106/2.133, allocations: 392.5 kB / 1.312 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/2.133, allocations: 95.44 kB / 1.312 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/2.133, allocations: 0 / 1.312 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.07589/2.209, allocations: 58.84 MB / 1.369 GB, free: 120.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches