Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_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_11_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_11_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.007412/0.007412, allocations: 98.69 kB / 15.73 MB, free: 5.988 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.001779/0.001779, allocations: 193.8 kB / 16.67 MB, free: 5.918 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.639/2.639, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 60.12 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.804, allocations: 159.1 MB / 1.221 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01215/0.8161, allocations: 10.11 MB / 1.23 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005591/0.8217, allocations: 3.182 MB / 1.234 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000921/0.8227, allocations: 35.81 kB / 1.234 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.8245, allocations: 0.6124 MB / 1.234 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.8263, allocations: 0.7701 MB / 1.235 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.828, allocations: 0.7447 MB / 1.236 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.8314, allocations: 2.996 MB / 1.239 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.834, allocations: 1.958 MB / 1.241 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.8358, allocations: 1.258 MB / 1.242 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.8383, allocations: 1.566 MB / 1.243 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.8389, allocations: 236 kB / 1.244 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.8402, allocations: 0.4915 MB / 1.244 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.8417, allocations: 1.099 MB / 1.245 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.8436, allocations: 1.113 MB / 1.246 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006001/0.8496, allocations: 3.7 MB / 1.25 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.8497, allocations: 0 / 1.25 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.606e-06/0.8497, allocations: 0 / 1.25 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002161/0.8499, allocations: 0 / 1.25 GB, free: 4.152 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.007319/0.8572, allocations: 2.194 MB / 1.252 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8572, allocations: 8.031 kB / 1.252 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008973/0.8662, allocations: 1.334 MB / 1.253 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.869, allocations: 1.301 MB / 1.255 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.8691, allocations: 115.4 kB / 1.255 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006243/0.8697, allocations: 148.3 kB / 1.255 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006837/0.8765, allocations: 3.434 MB / 1.258 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/0.8766, allocations: 11.94 kB / 1.258 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/0.877, allocations: 59.97 kB / 1.258 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.8774, allocations: 207.1 kB / 1.258 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005546/0.8829, allocations: 3.124 MB / 1.261 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.9021, allocations: 13.56 MB / 1.275 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.9046, allocations: 1.626 MB / 1.276 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.9066, allocations: 1.331 MB / 1.278 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.36e-05/0.9067, allocations: 13 kB / 1.278 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.9067, allocations: 43.55 kB / 1.278 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.9067, allocations: 0 / 1.278 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183): time 0.1323/1.039, allocations: 36.57 MB / 1.313 GB, free: 1.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/1.039, allocations: 77.41 kB / 1.313 GB, free: 1.754 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.041, allocations: 1.046 MB / 1.314 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/1.041, allocations: 57.7 kB / 1.314 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006258/1.042, allocations: 0.8093 MB / 1.315 GB, free: 15.8 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008567/1.043, allocations: 0.6507 MB / 1.316 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009864/1.044, allocations: 363.5 kB / 1.316 GB, free: 14.79 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.044, allocations: 305.1 kB / 1.317 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.047, allocations: 1.928 MB / 1.318 GB, free: 12.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/1.05, allocations: 2.285 MB / 1.321 GB, free: 10.14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/1.055, allocations: 4.403 MB / 1.325 GB, free: 5.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/1.055, allocations: 4 kB / 1.325 GB, free: 5.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01972/1.075, allocations: 8.861 MB / 1.334 GB, free: 12.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/1.075, allocations: 12 kB / 1.334 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.075, allocations: 8 kB / 1.334 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01675/1.092, allocations: 4.978 MB / 1.338 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/1.093, allocations: 183.7 kB / 1.339 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05626/1.149, allocations: 38.95 MB / 1.377 GB, free: 4 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/1.151, allocations: 99.89 kB / 1.377 GB, free: 15.91 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/1.152, allocations: 67.98 kB / 1.377 GB, free: 15.84 MB / 1.107 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.001682/1.153, allocations: 0.8095 MB / 1.378 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/1.154, allocations: 155 kB / 1.378 GB, free: 14.87 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/1.173, allocations: 8.73 MB / 1.386 GB, free: 6.098 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/1.173, allocations: 20 kB / 1.386 GB, free: 6.078 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.755e-05/1.173, allocations: 28 kB / 1.386 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.833e-05/1.173, allocations: 7.969 kB / 1.386 GB, free: 6.043 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/1.201, allocations: 13.26 MB / 1.399 GB, free: 8.629 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/1.201, allocations: 4.469 kB / 1.399 GB, free: 8.625 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/1.201, allocations: 131.7 kB / 1.399 GB, free: 8.496 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01617/1.218, allocations: 4.832 MB / 1.404 GB, free: 3.648 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/1.218, allocations: 32 kB / 1.404 GB, free: 3.617 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05281/1.271, allocations: 36.85 MB / 1.44 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.271, allocations: 7.984 kB / 1.44 GB, free: 14.17 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/1.289, allocations: 8.452 MB / 1.448 GB, free: 5.625 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.291, allocations: 0.6482 MB / 1.449 GB, free: 4.957 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/1.291, allocations: 40 kB / 1.449 GB, free: 4.918 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.292, allocations: 87.89 kB / 1.449 GB, free: 4.832 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008416/1.293, allocations: 161.6 kB / 1.449 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/1.293, allocations: 48 kB / 1.449 GB, free: 4.629 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001062/1.294, allocations: 0.7382 MB / 1.45 GB, free: 3.879 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/1.294, allocations: 4 kB / 1.45 GB, free: 3.875 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003153/1.297, allocations: 1 MB / 1.451 GB, free: 2.875 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.0003221/1.298, allocations: 143.1 kB / 1.451 GB, free: 2.727 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009747/1.308, allocations: 5.733 MB / 1.457 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.308, allocations: 0 / 1.457 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007269/1.315, allocations: 3.786 MB / 1.461 GB, free: 9.105 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.316, allocations: 246.5 kB / 1.461 GB, free: 8.867 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/1.325, allocations: 5.131 MB / 1.466 GB, free: 3.688 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/1.327, allocations: 1.863 MB / 1.468 GB, free: 1.785 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008294/1.328, allocations: 359.4 kB / 1.468 GB, free: 1.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.328, allocations: 63.44 kB / 1.468 GB, free: 1.367 MB / 1.186 GB Notification: Performance of SimCode: time 1.042e-06/1.328, allocations: 0 / 1.468 GB, free: 1.367 MB / 1.186 GB Notification: Performance of Templates: time 0.08435/1.412, allocations: 61.65 MB / 1.528 GB, free: 3.824 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches