Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006967/0.006967, allocations: 97.66 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.001545/0.001545, allocations: 200 kB / 16.68 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 68.11 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3217, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01319/0.3349, allocations: 10.04 MB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006183/0.3411, allocations: 3.064 MB / 1.233 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.342, allocations: 31.88 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.3443, allocations: 0.6958 MB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002158/0.3465, allocations: 0.7234 MB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3482, allocations: 0.6429 MB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.3516, allocations: 2.73 MB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.3544, allocations: 1.902 MB / 1.24 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.3564, allocations: 1.141 MB / 1.241 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.359, allocations: 1.383 MB / 1.242 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007612/0.3598, allocations: 220 kB / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.3613, allocations: 491.3 kB / 1.243 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00187/0.3632, allocations: 1.005 MB / 1.244 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.3653, allocations: 1.015 MB / 1.245 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.3697, allocations: 3.407 MB / 1.248 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3697, allocations: 4 kB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3697, allocations: 0 / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001097/0.3698, allocations: 0 / 1.248 GB, free: 1.156 MB / 0.9981 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.6557/1.025, allocations: 1.988 MB / 1.25 GB, free: 29.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.026, allocations: 10.23 kB / 1.25 GB, free: 29.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/1.031, allocations: 0.8964 MB / 1.251 GB, free: 29.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/1.034, allocations: 1.167 MB / 1.252 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/1.034, allocations: 113.2 kB / 1.252 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/1.035, allocations: 142.6 kB / 1.253 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/1.04, allocations: 3.014 MB / 1.256 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/1.04, allocations: 11.83 kB / 1.256 GB, free: 28.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/1.04, allocations: 62.17 kB / 1.256 GB, free: 28.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/1.04, allocations: 180.6 kB / 1.256 GB, free: 28.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/1.045, allocations: 2.604 MB / 1.258 GB, free: 28.41 MB / 0.9981 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.01686/1.062, allocations: 13.49 MB / 1.272 GB, free: 19.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/1.064, allocations: 1.233 MB / 1.273 GB, free: 19.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/1.066, allocations: 0.9848 MB / 1.274 GB, free: 18.81 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/1.066, allocations: 10.53 kB / 1.274 GB, free: 18.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.066, allocations: 39.66 kB / 1.274 GB, free: 18.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/1.066, allocations: 0 / 1.274 GB, free: 18.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.07053/1.136, allocations: 19.33 MB / 1.293 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.136, allocations: 65.88 kB / 1.293 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.138, allocations: 0.9206 MB / 1.294 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/1.138, allocations: 48.95 kB / 1.294 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/1.138, allocations: 0.7479 MB / 1.294 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/1.139, allocations: 0.5033 MB / 1.295 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/1.139, allocations: 294.5 kB / 1.295 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/1.139, allocations: 356.6 kB / 1.295 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/1.141, allocations: 1.336 MB / 1.297 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/1.144, allocations: 1.663 MB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/1.147, allocations: 3.083 MB / 1.301 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.148, allocations: 2.469 kB / 1.301 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01131/1.159, allocations: 5.562 MB / 1.307 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/1.159, allocations: 15.41 kB / 1.307 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.159, allocations: 8.625 kB / 1.307 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008646/1.168, allocations: 2.728 MB / 1.31 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/1.168, allocations: 191.7 kB / 1.31 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03551/1.204, allocations: 25.74 MB / 1.335 GB, free: 5.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/1.206, allocations: 91.8 kB / 1.335 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/1.206, allocations: 60.98 kB / 1.335 GB, free: 5.023 MB / 1.014 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.001332/1.207, allocations: 0.7255 MB / 1.336 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.208, allocations: 123.2 kB / 1.336 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.219, allocations: 5.314 MB / 1.341 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.219, allocations: 12 kB / 1.341 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.863e-05/1.219, allocations: 20 kB / 1.341 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/1.219, allocations: 7.969 kB / 1.341 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.235, allocations: 8.622 MB / 1.349 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.235, allocations: 4 kB / 1.349 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/1.236, allocations: 115.9 kB / 1.35 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008328/1.244, allocations: 2.576 MB / 1.352 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.244, allocations: 35.94 kB / 1.352 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.032/1.276, allocations: 24.18 MB / 1.376 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.276, allocations: 7.938 kB / 1.376 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.287, allocations: 5.18 MB / 1.381 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009713/1.288, allocations: 492.2 kB / 1.381 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/1.288, allocations: 32 kB / 1.381 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/1.289, allocations: 71.91 kB / 1.381 GB, free: 4.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005721/1.289, allocations: 129 kB / 1.382 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.289, allocations: 36 kB / 1.382 GB, free: 4.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008233/1.29, allocations: 0.6434 MB / 1.382 GB, free: 3.902 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/1.29, allocations: 0 / 1.382 GB, free: 3.902 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002308/1.293, allocations: 0.7227 MB / 1.383 GB, free: 3.18 MB / 1.061 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.0002583/1.293, allocations: 135.1 kB / 1.383 GB, free: 3.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006783/1.3, allocations: 4.074 MB / 1.387 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.3, allocations: 3.938 kB / 1.387 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004802/1.304, allocations: 2.62 MB / 1.39 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.306, allocations: 227.6 kB / 1.39 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/1.312, allocations: 4.025 MB / 1.394 GB, free: 7.969 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/1.313, allocations: 1.7 MB / 1.395 GB, free: 6.234 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007229/1.314, allocations: 327 kB / 1.396 GB, free: 5.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.314, allocations: 59.42 kB / 1.396 GB, free: 5.859 MB / 1.076 GB Notification: Performance of SimCode: time 7.91e-07/1.314, allocations: 0 / 1.396 GB, free: 5.859 MB / 1.076 GB Notification: Performance of Templates: time 0.05775/1.372, allocations: 40.67 MB / 1.435 GB, free: 13.37 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches