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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001455/0.001455, allocations: 116.7 kB / 16.37 MB, free: 6 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.001488/0.001488, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.56 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2894, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0118/0.3012, allocations: 10.02 MB / 0.9609 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005141/0.3064, allocations: 3.041 MB / 0.9639 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.307, allocations: 35.81 kB / 0.9639 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.3088, allocations: 0.6842 MB / 0.9646 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.3101, allocations: 0.6922 MB / 0.9653 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3114, allocations: 0.6354 MB / 0.9659 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.3142, allocations: 2.738 MB / 0.9686 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.3169, allocations: 2.527 MB / 0.971 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.3187, allocations: 1.13 MB / 0.9721 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.3206, allocations: 1.383 MB / 0.9735 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.3209, allocations: 216 kB / 0.9737 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.3218, allocations: 487.4 kB / 0.9742 GB, free: 324 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008775/0.3227, allocations: 0.9862 MB / 0.9751 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.3238, allocations: 1.011 MB / 0.9761 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.3268, allocations: 3.408 MB / 0.9794 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3268, allocations: 4 kB / 0.9794 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3268, allocations: 0 / 0.9794 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.391e-05/0.3269, allocations: 0 / 0.9794 GB, free: 10.89 MB / 0.7637 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.003419/0.3303, allocations: 1.94 MB / 0.9813 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3303, allocations: 12.03 kB / 0.9813 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/0.3357, allocations: 0.8844 MB / 0.9822 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.3378, allocations: 1.172 MB / 0.9834 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/0.3379, allocations: 111.3 kB / 0.9835 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.3382, allocations: 144.3 kB / 0.9836 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.3426, allocations: 3.023 MB / 0.9866 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.3426, allocations: 0 / 0.9866 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.3428, allocations: 71.95 kB / 0.9866 GB, free: 3.332 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/0.3431, allocations: 175 kB / 0.9868 GB, free: 3.16 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/0.3468, allocations: 2.612 MB / 0.9893 GB, free: 0.543 MB / 0.7637 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.01538/0.3622, allocations: 13.49 MB / 1.003 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.3643, allocations: 1.287 MB / 1.004 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.3656, allocations: 1.05 MB / 1.005 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-05/0.3657, allocations: 8.656 kB / 1.005 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3657, allocations: 47.16 kB / 1.005 GB, free: 15.53 MB / 0.795 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.3658, allocations: 0 / 1.005 GB, free: 15.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=139): time 0.06561/0.4314, allocations: 19.39 MB / 1.024 GB, free: 12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.4315, allocations: 64.72 kB / 1.024 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4327, allocations: 0.9184 MB / 1.025 GB, free: 11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.4329, allocations: 45.7 kB / 1.025 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.4334, allocations: 0.732 MB / 1.025 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/0.4339, allocations: 489 kB / 1.026 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005791/0.4345, allocations: 291.4 kB / 1.026 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4347, allocations: 357.9 kB / 1.027 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.4365, allocations: 1.335 MB / 1.028 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.4386, allocations: 1.659 MB / 1.03 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/0.4427, allocations: 3.089 MB / 1.033 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4427, allocations: 0 / 1.033 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01136/0.4541, allocations: 5.637 MB / 1.038 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.4541, allocations: 12.03 kB / 1.038 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.4541, allocations: 11.94 kB / 1.038 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008564/0.4627, allocations: 2.725 MB / 1.041 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.4636, allocations: 187.7 kB / 1.041 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03544/0.4991, allocations: 25.7 MB / 1.066 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.5006, allocations: 95.89 kB / 1.066 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.5008, allocations: 59.98 kB / 1.066 GB, free: 15.72 MB / 0.8575 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.001179/0.502, allocations: 0.7316 MB / 1.067 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.5022, allocations: 114.6 kB / 1.067 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.5129, allocations: 5.392 MB / 1.072 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.5129, allocations: 20 kB / 1.072 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/0.513, allocations: 20 kB / 1.072 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.513, allocations: 7.969 kB / 1.072 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.5293, allocations: 8.622 MB / 1.081 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.5294, allocations: 4.375 kB / 1.081 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.5299, allocations: 123.8 kB / 1.081 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5097/1.04, allocations: 2.531 MB / 1.083 GB, free: 124 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/1.04, allocations: 24.27 kB / 1.083 GB, free: 124 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03503/1.075, allocations: 22.99 MB / 1.106 GB, free: 113.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/1.075, allocations: 3.531 kB / 1.106 GB, free: 113.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/1.086, allocations: 5.134 MB / 1.111 GB, free: 112.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.087, allocations: 476 kB / 1.111 GB, free: 111.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/1.088, allocations: 30.73 kB / 1.111 GB, free: 111.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/1.089, allocations: 73.45 kB / 1.111 GB, free: 111.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/1.089, allocations: 128.4 kB / 1.111 GB, free: 111.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.089, allocations: 39.64 kB / 1.111 GB, free: 111.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009051/1.09, allocations: 0.6436 MB / 1.112 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/1.09, allocations: 0 / 1.112 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002551/1.093, allocations: 0.7209 MB / 1.113 GB, free: 111.4 MB / 0.8575 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.000258/1.093, allocations: 143.2 kB / 1.113 GB, free: 111.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006716/1.1, allocations: 4.177 MB / 1.117 GB, free: 109.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.1, allocations: 3.625 kB / 1.117 GB, free: 109.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005178/1.105, allocations: 2.659 MB / 1.12 GB, free: 108.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.106, allocations: 229 kB / 1.12 GB, free: 108.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/1.113, allocations: 3.906 MB / 1.124 GB, free: 106.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/1.114, allocations: 1.701 MB / 1.125 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007918/1.115, allocations: 329.6 kB / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/1.115, allocations: 55 kB / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of SimCode: time 8.82e-07/1.115, allocations: 0 / 1.126 GB, free: 105.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.04434/1.16, allocations: 38.98 MB / 1.164 GB, free: 77.04 MB / 0.8575 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 -s gbode -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/jenkins1/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