Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 104.7 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.001289/0.001289, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.265/2.265, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 66.66 kB / 0.8127 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02214/0.2837, allocations: 20.12 MB / 0.9694 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.2948, allocations: 6.383 MB / 0.9757 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.2968, allocations: 79.56 kB / 0.9757 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005477/0.3023, allocations: 2.086 MB / 0.9778 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.3056, allocations: 1.097 MB / 0.9789 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.3089, allocations: 1.17 MB / 0.98 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005462/0.3143, allocations: 4.862 MB / 0.9847 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009741/0.3241, allocations: 6.76 MB / 0.9913 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.3277, allocations: 2.122 MB / 0.9934 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004011/0.3317, allocations: 2.457 MB / 0.9958 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.333, allocations: 432 kB / 0.9962 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.336, allocations: 0.9948 MB / 0.9972 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002696/0.3387, allocations: 1.661 MB / 0.9988 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003863/0.3426, allocations: 1.914 MB / 1.001 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.3487, allocations: 5.569 MB / 1.006 GB, free: 15.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3488, allocations: 0 / 1.006 GB, free: 15.3 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3488, allocations: 0 / 1.006 GB, free: 15.3 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000222/0.349, allocations: 4 kB / 1.006 GB, free: 15.3 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009256/0.3583, allocations: 3.452 MB / 1.01 GB, free: 11.78 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3583, allocations: 12.03 kB / 1.01 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.3624, allocations: 0.6333 MB / 1.01 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.3663, allocations: 1.939 MB / 1.012 GB, free: 9.133 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.3666, allocations: 222.3 kB / 1.012 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009539/0.3675, allocations: 292.3 kB / 1.013 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.3781, allocations: 4.89 MB / 1.017 GB, free: 3.535 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.3783, allocations: 19.84 kB / 1.017 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006891/0.379, allocations: 120 kB / 1.017 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004517/0.3795, allocations: 237.7 kB / 1.018 GB, free: 3.164 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006975/0.3865, allocations: 3.746 MB / 1.021 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02435/0.4108, allocations: 21.57 MB / 1.042 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.4127, allocations: 1.308 MB / 1.044 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4141, allocations: 1.053 MB / 1.045 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.4142, allocations: 12.98 kB / 1.045 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.4143, allocations: 51.5 kB / 1.045 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=107): time 3.487e-06/0.4143, allocations: 4 kB / 1.045 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=138): time 0.02558/0.4399, allocations: 8.645 MB / 1.053 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.44, allocations: 68.7 kB / 1.053 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.4419, allocations: 1.134 MB / 1.054 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.442, allocations: 45.7 kB / 1.054 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009096/0.4429, allocations: 1.3 MB / 1.056 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.4434, allocations: 481.1 kB / 1.056 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/0.4439, allocations: 291.3 kB / 1.056 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.444, allocations: 309.1 kB / 1.057 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.4453, allocations: 0.9096 MB / 1.058 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.4468, allocations: 1.326 MB / 1.059 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/0.4498, allocations: 2.43 MB / 1.061 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/0.4498, allocations: 4 kB / 1.061 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006188/0.456, allocations: 3.46 MB / 1.065 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.4561, allocations: 10.34 kB / 1.065 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.4561, allocations: 15.98 kB / 1.065 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/0.4595, allocations: 1.196 MB / 1.066 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4606, allocations: 251.6 kB / 1.066 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/0.478, allocations: 13.85 MB / 1.08 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4795, allocations: 91.97 kB / 1.08 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/0.4797, allocations: 67.94 kB / 1.08 GB, free: 0.6328 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.5382/1.018, allocations: 1.104 MB / 1.081 GB, free: 123.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/1.019, allocations: 159 kB / 1.081 GB, free: 123.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/1.025, allocations: 3.173 MB / 1.084 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.025, allocations: 19.83 kB / 1.084 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/1.025, allocations: 11.59 kB / 1.084 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/1.025, allocations: 6.797 kB / 1.084 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/1.038, allocations: 6.244 MB / 1.09 GB, free: 120.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.038, allocations: 5.797 kB / 1.09 GB, free: 120.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/1.038, allocations: 147.6 kB / 1.09 GB, free: 120.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/1.041, allocations: 1.085 MB / 1.091 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.042, allocations: 26.19 kB / 1.091 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/1.059, allocations: 13.54 MB / 1.105 GB, free: 112 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.059, allocations: 7.406 kB / 1.105 GB, free: 112 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006053/1.065, allocations: 3.152 MB / 1.108 GB, free: 110.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.066, allocations: 431.9 kB / 1.108 GB, free: 110.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/1.067, allocations: 32.98 kB / 1.108 GB, free: 110.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.068, allocations: 78.05 kB / 1.108 GB, free: 110.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000482/1.068, allocations: 123.4 kB / 1.108 GB, free: 110.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.068, allocations: 45.22 kB / 1.108 GB, free: 110.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001389/1.07, allocations: 0.7641 MB / 1.109 GB, free: 110.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.81e-07/1.07, allocations: 3.75 kB / 1.109 GB, free: 110.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002623/1.072, allocations: 0.6624 MB / 1.11 GB, free: 110.1 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002868/1.073, allocations: 138.6 kB / 1.11 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006286/1.079, allocations: 3.636 MB / 1.114 GB, free: 108.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/1.079, allocations: 1.156 kB / 1.114 GB, free: 108.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003898/1.083, allocations: 1.949 MB / 1.115 GB, free: 107.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/1.087, allocations: 0.5085 MB / 1.116 GB, free: 107.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.099, allocations: 7.167 MB / 1.123 GB, free: 103.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/1.103, allocations: 2.388 MB / 1.125 GB, free: 102.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/1.103, allocations: 96.94 kB / 1.125 GB, free: 102.3 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/1.103, allocations: 1.062 kB / 1.125 GB, free: 102.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.07529/1.179, allocations: 79.43 MB / 1.203 GB, free: 33 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches