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.00824/0.00824, allocations: 95.91 kB / 15.73 MB, free: 6.047 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.001945/0.001945, allocations: 198.8 kB / 16.68 MB, free: 5.957 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8658, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01215/0.878, allocations: 10.08 MB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006064/0.8841, allocations: 3.189 MB / 1.221 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.8852, allocations: 35.81 kB / 1.221 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.887, allocations: 0.5908 MB / 1.221 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.8889, allocations: 0.7388 MB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.8906, allocations: 0.7518 MB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.8939, allocations: 2.996 MB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.8967, allocations: 2.586 MB / 1.228 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.8984, allocations: 1.262 MB / 1.229 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.9003, allocations: 1.558 MB / 1.231 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.9006, allocations: 236 kB / 1.231 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.9015, allocations: 0.4993 MB / 1.232 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008979/0.9024, allocations: 1.068 MB / 1.233 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.9035, allocations: 1.12 MB / 1.234 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.9066, allocations: 3.675 MB / 1.237 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9066, allocations: 0 / 1.237 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9066, allocations: 0 / 1.237 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.753e-05/0.9067, allocations: 0 / 1.237 GB, free: 15.12 MB / 0.9669 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.003931/0.9106, allocations: 2.154 MB / 1.24 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9106, allocations: 8.031 kB / 1.24 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008905/0.9196, allocations: 1.309 MB / 1.241 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.9224, allocations: 1.298 MB / 1.242 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-05/0.9225, allocations: 115.4 kB / 1.242 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.9228, allocations: 144.3 kB / 1.242 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/0.928, allocations: 3.441 MB / 1.246 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.9281, allocations: 3.938 kB / 1.246 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.9283, allocations: 71.95 kB / 1.246 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.9286, allocations: 207.1 kB / 1.246 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.9333, allocations: 3.128 MB / 1.249 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.9505, allocations: 13.55 MB / 1.262 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.953, allocations: 1.72 MB / 1.264 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.9549, allocations: 1.444 MB / 1.265 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.955, allocations: 12.98 kB / 1.265 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.9551, allocations: 51.44 kB / 1.265 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.135e-06/0.9551, allocations: 0 / 1.265 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1548/1.11, allocations: 36.68 MB / 1.301 GB, free: 12.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/1.11, allocations: 69.41 kB / 1.301 GB, free: 12.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/1.111, allocations: 1.057 MB / 1.302 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000239/1.112, allocations: 53.7 kB / 1.302 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005068/1.112, allocations: 0.7835 MB / 1.303 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005851/1.113, allocations: 0.6316 MB / 1.304 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007537/1.114, allocations: 359.4 kB / 1.304 GB, free: 9.523 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.114, allocations: 309 kB / 1.304 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/1.116, allocations: 1.928 MB / 1.306 GB, free: 7.289 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/1.119, allocations: 2.285 MB / 1.308 GB, free: 4.883 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005666/1.125, allocations: 4.394 MB / 1.313 GB, free: 372 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/1.125, allocations: 4 kB / 1.313 GB, free: 368 kB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02082/1.146, allocations: 9.017 MB / 1.322 GB, free: 7.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/1.146, allocations: 20.03 kB / 1.322 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.146, allocations: 8 kB / 1.322 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01773/1.164, allocations: 4.975 MB / 1.326 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/1.165, allocations: 191.7 kB / 1.327 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05961/1.224, allocations: 38.9 MB / 1.365 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.227, allocations: 95.89 kB / 1.365 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.227, allocations: 68 kB / 1.365 GB, free: 10.47 MB / 1.092 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.001384/1.228, allocations: 0.81 MB / 1.366 GB, free: 9.648 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/1.228, allocations: 146.3 kB / 1.366 GB, free: 9.504 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02045/1.249, allocations: 8.882 MB / 1.374 GB, free: 0.582 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/1.249, allocations: 20 kB / 1.374 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.783e-05/1.249, allocations: 28 kB / 1.374 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/1.249, allocations: 11.97 kB / 1.374 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02788/1.277, allocations: 13.4 MB / 1.388 GB, free: 2.969 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.277, allocations: 4 kB / 1.388 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/1.278, allocations: 123.8 kB / 1.388 GB, free: 2.844 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01715/1.295, allocations: 4.833 MB / 1.392 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/1.295, allocations: 31.98 kB / 1.392 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05755/1.353, allocations: 36.83 MB / 1.428 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.353, allocations: 12 kB / 1.428 GB, free: 8.531 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/1.373, allocations: 8.603 MB / 1.437 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.375, allocations: 0.6281 MB / 1.437 GB, free: 15.19 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/1.375, allocations: 47.83 kB / 1.437 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.377, allocations: 87.89 kB / 1.438 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009061/1.378, allocations: 161.7 kB / 1.438 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.378, allocations: 51.94 kB / 1.438 GB, free: 14.84 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001106/1.379, allocations: 0.7343 MB / 1.438 GB, free: 14.1 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.81e-07/1.379, allocations: 4 kB / 1.438 GB, free: 14.09 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003316/1.382, allocations: 1 MB / 1.439 GB, free: 13.09 MB / 1.17 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002983/1.383, allocations: 147.1 kB / 1.44 GB, free: 12.94 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.393, allocations: 5.933 MB / 1.445 GB, free: 6.957 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.393, allocations: 0 / 1.445 GB, free: 6.957 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008343/1.401, allocations: 3.932 MB / 1.449 GB, free: 2.957 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.403, allocations: 241.9 kB / 1.449 GB, free: 2.723 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008567/1.412, allocations: 5.08 MB / 1.454 GB, free: 13.59 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/1.413, allocations: 1.855 MB / 1.456 GB, free: 11.7 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007857/1.414, allocations: 363.4 kB / 1.457 GB, free: 11.34 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/1.414, allocations: 59.44 kB / 1.457 GB, free: 11.28 MB / 1.186 GB Notification: Performance of SimCode: time 1.223e-06/1.414, allocations: 0 / 1.457 GB, free: 11.28 MB / 1.186 GB Notification: Performance of Templates: time 0.08689/1.501, allocations: 62.65 MB / 1.518 GB, free: 12.76 MB / 1.248 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