Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, 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.002238/0.002238, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 68.95 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3383, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01216/0.3505, allocations: 10.06 MB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005866/0.3564, allocations: 3.178 MB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.3574, allocations: 31.81 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3593, allocations: 0.5508 MB / 1.066 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.3612, allocations: 0.7042 MB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.363, allocations: 0.6903 MB / 1.067 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004438/0.3674, allocations: 4.474 MB / 1.071 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.3717, allocations: 2.838 MB / 1.074 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.3736, allocations: 1.059 MB / 1.075 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.3763, allocations: 1.613 MB / 1.077 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006147/0.3769, allocations: 160 kB / 1.077 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.3785, allocations: 0.4992 MB / 1.077 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.38, allocations: 1.017 MB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.382, allocations: 1.023 MB / 1.079 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004157/0.3862, allocations: 3.634 MB / 1.083 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3862, allocations: 0 / 1.083 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3862, allocations: 0 / 1.083 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001083/0.3864, allocations: 0 / 1.083 GB, free: 9.188 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005226/0.3916, allocations: 2.138 MB / 1.085 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3916, allocations: 8.031 kB / 1.085 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008904/0.4006, allocations: 1.313 MB / 1.086 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.4033, allocations: 1.251 MB / 1.087 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.4035, allocations: 119.3 kB / 1.088 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006369/0.4041, allocations: 152.2 kB / 1.088 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006243/0.4104, allocations: 3.441 MB / 1.091 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.4104, allocations: 0 / 1.091 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.4106, allocations: 67.97 kB / 1.091 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.4109, allocations: 199.1 kB / 1.091 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/0.4158, allocations: 3.135 MB / 1.094 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.4337, allocations: 13.61 MB / 1.108 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.4362, allocations: 1.741 MB / 1.109 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.4383, allocations: 1.433 MB / 1.111 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.4384, allocations: 9 kB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4384, allocations: 43.56 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/0.4384, allocations: 4 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.141/0.5794, allocations: 36.67 MB / 1.147 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.5795, allocations: 69.41 kB / 1.147 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.5811, allocations: 1.05 MB / 1.148 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/0.5814, allocations: 61.7 kB / 1.148 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/0.582, allocations: 0.7833 MB / 1.149 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006869/0.5827, allocations: 0.62 MB / 1.149 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008648/0.5836, allocations: 367.3 kB / 1.15 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.5837, allocations: 301.1 kB / 1.15 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.5865, allocations: 1.928 MB / 1.152 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/0.5895, allocations: 2.289 MB / 1.154 GB, free: 14.96 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005921/0.5954, allocations: 4.387 MB / 1.158 GB, free: 10.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.5954, allocations: 4 kB / 1.158 GB, free: 10.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01985/0.6153, allocations: 9.025 MB / 1.167 GB, free: 1.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.6153, allocations: 11.94 kB / 1.167 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.6154, allocations: 12 kB / 1.167 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01719/0.6326, allocations: 4.966 MB / 1.172 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/0.6334, allocations: 199.6 kB / 1.172 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05605/0.6895, allocations: 35.29 MB / 1.207 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.6916, allocations: 99.89 kB / 1.207 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/0.692, allocations: 71.94 kB / 1.207 GB, free: 8.18 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001737/0.6937, allocations: 0.8057 MB / 1.208 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/0.6943, allocations: 138.3 kB / 1.208 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01953/0.7138, allocations: 8.89 MB / 1.216 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.7139, allocations: 20 kB / 1.216 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.816e-05/0.714, allocations: 28 kB / 1.216 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/0.714, allocations: 11.95 kB / 1.216 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02723/0.7413, allocations: 13.31 MB / 1.229 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.7413, allocations: 4 kB / 1.229 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.7419, allocations: 119.8 kB / 1.23 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01725/0.7591, allocations: 4.761 MB / 1.234 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003256/0.7595, allocations: 40 kB / 1.234 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6772/1.437, allocations: 31.56 MB / 1.265 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.437, allocations: 4.094 kB / 1.265 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/1.457, allocations: 8.413 MB / 1.273 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.458, allocations: 0.6089 MB / 1.274 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/1.459, allocations: 43.55 kB / 1.274 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.46, allocations: 90.5 kB / 1.274 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009451/1.461, allocations: 163.2 kB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.461, allocations: 46.19 kB / 1.274 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009246/1.462, allocations: 0.7406 MB / 1.275 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.462, allocations: 0 / 1.275 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003252/1.465, allocations: 1.004 MB / 1.276 GB, free: 174 MB / 0.9981 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003061/1.465, allocations: 147 kB / 1.276 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009469/1.475, allocations: 5.845 MB / 1.282 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.475, allocations: 1.25 kB / 1.282 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007757/1.483, allocations: 3.836 MB / 1.285 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.484, allocations: 233.2 kB / 1.286 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008225/1.493, allocations: 5.791 MB / 1.291 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/1.494, allocations: 1.855 MB / 1.293 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008628/1.495, allocations: 347.6 kB / 1.293 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/1.495, allocations: 72.78 kB / 1.294 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.495, allocations: 0 / 1.294 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06259/1.558, allocations: 57.87 MB / 1.35 GB, free: 113.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches