Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001081/0.001081, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008675/0.008675, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.496/2.496, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7436, allocations: 142.4 MB / 0.9551 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01152/0.7551, allocations: 9.537 MB / 0.9644 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007215/0.7624, allocations: 3.012 MB / 0.9673 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.7636, allocations: 27.72 kB / 0.9673 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008009/0.7644, allocations: 186.3 kB / 0.9675 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.7666, allocations: 0.6566 MB / 0.9682 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.7683, allocations: 0.5435 MB / 0.9687 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005231/0.7736, allocations: 4.062 MB / 0.9726 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005514/0.7791, allocations: 3.13 MB / 0.9757 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.7812, allocations: 0.8404 MB / 0.9765 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.7839, allocations: 1.28 MB / 0.9778 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006078/0.7845, allocations: 100 kB / 0.9779 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.7861, allocations: 447.2 kB / 0.9783 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.7875, allocations: 0.8418 MB / 0.9791 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.7891, allocations: 0.8764 MB / 0.98 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.7929, allocations: 3.261 MB / 0.9832 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.793, allocations: 0 / 0.9832 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.793, allocations: 3.938 kB / 0.9832 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001302/0.7931, allocations: 0 / 0.9832 GB, free: 2.594 MB / 0.7325 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.003985/0.7971, allocations: 1.597 MB / 0.9847 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.7972, allocations: 16.03 kB / 0.9847 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/0.8035, allocations: 0.8843 MB / 0.9856 GB, free: 40 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.806, allocations: 1.118 MB / 0.9867 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.8062, allocations: 111.3 kB / 0.9868 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006101/0.8068, allocations: 144.3 kB / 0.9869 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/0.8139, allocations: 3.021 MB / 0.9899 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/0.814, allocations: 7.922 kB / 0.9899 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.8143, allocations: 59.98 kB / 0.99 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/0.8146, allocations: 179 kB / 0.9901 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00586/0.8205, allocations: 2.604 MB / 0.9927 GB, free: 8.652 MB / 0.7481 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.01947/0.84, allocations: 13.53 MB / 1.006 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.8421, allocations: 1.295 MB / 1.007 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.8435, allocations: 1.052 MB / 1.008 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.8436, allocations: 12.66 kB / 1.008 GB, free: 7.637 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.8437, allocations: 39.22 kB / 1.008 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.8437, allocations: 0 / 1.008 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.0775/0.9212, allocations: 19.47 MB / 1.027 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.9213, allocations: 64.72 kB / 1.027 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.923, allocations: 0.9222 MB / 1.028 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.9232, allocations: 45.7 kB / 1.028 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000681/0.9239, allocations: 0.7283 MB / 1.029 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000579/0.9244, allocations: 489 kB / 1.029 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.9248, allocations: 125.6 kB / 1.03 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.9249, allocations: 349.9 kB / 1.03 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.9272, allocations: 1.351 MB / 1.031 GB, free: 15.86 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.9295, allocations: 1.651 MB / 1.033 GB, free: 14.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00461/0.9342, allocations: 3.091 MB / 1.036 GB, free: 10.88 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.9342, allocations: 4 kB / 1.036 GB, free: 10.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0133/0.9475, allocations: 5.631 MB / 1.041 GB, free: 5.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.9476, allocations: 8 kB / 1.041 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.9476, allocations: 19.95 kB / 1.041 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009712/0.9574, allocations: 2.714 MB / 1.044 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.9584, allocations: 195.6 kB / 1.044 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03779/0.9962, allocations: 23.32 MB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.9979, allocations: 91.95 kB / 1.067 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.9982, allocations: 59.98 kB / 1.067 GB, free: 10.25 MB / 0.8262 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.001457/0.9997, allocations: 0.7277 MB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/1, allocations: 122.6 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.013, allocations: 5.384 MB / 1.073 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/1.013, allocations: 12 kB / 1.073 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.716e-05/1.013, allocations: 20 kB / 1.073 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/1.013, allocations: 11.97 kB / 1.073 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.032, allocations: 8.625 MB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.032, allocations: 0 / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/1.033, allocations: 123.8 kB / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009051/1.042, allocations: 2.55 MB / 1.084 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.042, allocations: 28 kB / 1.084 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03244/1.075, allocations: 20.88 MB / 1.105 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.075, allocations: 7.938 kB / 1.105 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.086, allocations: 5.134 MB / 1.11 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.088, allocations: 475.6 kB / 1.11 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/1.088, allocations: 32 kB / 1.11 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.089, allocations: 71.91 kB / 1.11 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005547/1.09, allocations: 125 kB / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/1.09, allocations: 40 kB / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009686/1.091, allocations: 0.6395 MB / 1.111 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.091, allocations: 0 / 1.111 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002578/1.093, allocations: 0.7227 MB / 1.112 GB, free: 11.72 MB / 0.8731 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.0002976/1.094, allocations: 143 kB / 1.112 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007228/1.101, allocations: 4.161 MB / 1.116 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.101, allocations: 0 / 1.116 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005473/1.106, allocations: 2.662 MB / 1.119 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.108, allocations: 205.4 kB / 1.119 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00726/1.115, allocations: 4.683 MB / 1.123 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/1.117, allocations: 1.711 MB / 1.125 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000886/1.118, allocations: 325.5 kB / 1.125 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/1.119, allocations: 51.44 kB / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of SimCode: time 7.62e-07/1.119, allocations: 0 / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of Templates: time 0.05812/1.177, allocations: 36.74 MB / 1.161 GB, free: 9.004 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches