Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00581/0.00581, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00121/0.00121, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.483/2.483, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 1.054 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8368, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01216/0.849, allocations: 10.02 MB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005548/0.8546, allocations: 3.052 MB / 1.22 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008938/0.8555, allocations: 35.81 kB / 1.221 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.8578, allocations: 0.6842 MB / 1.221 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.86, allocations: 0.6844 MB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.8618, allocations: 0.6468 MB / 1.222 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.8652, allocations: 2.734 MB / 1.225 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.8687, allocations: 2.526 MB / 1.228 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.8707, allocations: 1.145 MB / 1.229 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.8732, allocations: 1.383 MB / 1.23 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006611/0.8738, allocations: 216 kB / 1.23 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.8753, allocations: 491.4 kB / 1.231 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.8767, allocations: 0.9824 MB / 1.232 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.8782, allocations: 1.004 MB / 1.233 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.8814, allocations: 3.418 MB / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.8814, allocations: 0 / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8814, allocations: 0 / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.904e-05/0.8814, allocations: 0 / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003592/0.885, allocations: 1.944 MB / 1.238 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.8851, allocations: 12.02 kB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005653/0.8908, allocations: 0.8844 MB / 1.239 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.8932, allocations: 1.161 MB / 1.24 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.259e-05/0.8933, allocations: 119.2 kB / 1.24 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.8936, allocations: 144.3 kB / 1.24 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/0.8981, allocations: 3.021 MB / 1.243 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.8982, allocations: 7.844 kB / 1.243 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.8984, allocations: 63.97 kB / 1.243 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.8986, allocations: 175 kB / 1.243 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003961/0.9026, allocations: 2.608 MB / 1.246 GB, free: 6.105 MB / 0.9669 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.01576/0.9183, allocations: 13.48 MB / 1.259 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.9202, allocations: 1.291 MB / 1.26 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.9215, allocations: 1.047 MB / 1.261 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.965e-05/0.9216, allocations: 12.66 kB / 1.261 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.9217, allocations: 43.22 kB / 1.261 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.9217, allocations: 0 / 1.261 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.0749/0.9966, allocations: 19.39 MB / 1.28 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.9967, allocations: 68.7 kB / 1.28 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.9978, allocations: 0.9221 MB / 1.281 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.9979, allocations: 49.7 kB / 1.281 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.9984, allocations: 0.7322 MB / 1.282 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/0.9988, allocations: 489 kB / 1.283 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005585/0.9993, allocations: 287.5 kB / 1.283 GB, free: 14.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9995, allocations: 353.9 kB / 1.283 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.001, allocations: 1.335 MB / 1.284 GB, free: 13.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/1.003, allocations: 1.655 MB / 1.286 GB, free: 11.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/1.007, allocations: 3.088 MB / 1.289 GB, free: 8.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.007, allocations: 4 kB / 1.289 GB, free: 8.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01142/1.018, allocations: 5.638 MB / 1.295 GB, free: 2.652 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.019, allocations: 12 kB / 1.295 GB, free: 2.641 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.019, allocations: 11.94 kB / 1.295 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008839/1.027, allocations: 2.717 MB / 1.297 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/1.028, allocations: 191.7 kB / 1.297 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03513/1.063, allocations: 25.71 MB / 1.323 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.065, allocations: 99.95 kB / 1.323 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.065, allocations: 52.5 kB / 1.323 GB, free: 5.289 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001031/1.066, allocations: 0.7354 MB / 1.323 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/1.066, allocations: 118.6 kB / 1.324 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.077, allocations: 5.392 MB / 1.329 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.077, allocations: 12 kB / 1.329 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/1.077, allocations: 20 kB / 1.329 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.077, allocations: 7.969 kB / 1.329 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.093, allocations: 8.693 MB / 1.337 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.094, allocations: 4.469 kB / 1.337 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/1.094, allocations: 119.8 kB / 1.337 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008572/1.103, allocations: 2.599 MB / 1.34 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.103, allocations: 24 kB / 1.34 GB, free: 3.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03346/1.136, allocations: 24.17 MB / 1.364 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.136, allocations: 4 kB / 1.364 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.147, allocations: 5.252 MB / 1.369 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.149, allocations: 487.6 kB / 1.369 GB, free: 4.824 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/1.149, allocations: 31.89 kB / 1.369 GB, free: 4.793 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009579/1.15, allocations: 79.91 kB / 1.369 GB, free: 4.715 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005171/1.15, allocations: 121 kB / 1.369 GB, free: 4.594 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.15, allocations: 36 kB / 1.37 GB, free: 4.559 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008447/1.151, allocations: 0.6473 MB / 1.37 GB, free: 3.918 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.151, allocations: 0 / 1.37 GB, free: 3.918 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00232/1.154, allocations: 0.7188 MB / 1.371 GB, free: 3.199 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002459/1.154, allocations: 139.1 kB / 1.371 GB, free: 3.055 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006764/1.161, allocations: 4.204 MB / 1.375 GB, free: 14.8 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.161, allocations: 0 / 1.375 GB, free: 14.8 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005052/1.166, allocations: 2.713 MB / 1.378 GB, free: 12.03 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/1.167, allocations: 229.9 kB / 1.378 GB, free: 11.81 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/1.173, allocations: 3.962 MB / 1.382 GB, free: 7.793 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.175, allocations: 1.7 MB / 1.383 GB, free: 6.059 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007559/1.175, allocations: 333.4 kB / 1.384 GB, free: 5.73 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.176, allocations: 55.44 kB / 1.384 GB, free: 5.676 MB / 1.107 GB Notification: Performance of SimCode: time 1.012e-06/1.176, allocations: 0 / 1.384 GB, free: 5.676 MB / 1.107 GB Notification: Performance of Templates: time 0.06334/1.239, allocations: 41.2 MB / 1.424 GB, free: 12.62 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches