Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007699/0.007699, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001848/0.001848, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.433/1.433, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9537/0.9551, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04014/0.9953, allocations: 35.13 MB / 1.201 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01834/1.014, allocations: 9.933 MB / 1.211 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003803/1.017, allocations: 151.2 kB / 1.211 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01007/1.028, allocations: 3.805 MB / 1.214 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007522/1.035, allocations: 2.04 MB / 1.216 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00631/1.042, allocations: 1.959 MB / 1.218 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01166/1.053, allocations: 7.971 MB / 1.226 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01408/1.067, allocations: 9.546 MB / 1.235 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/1.073, allocations: 3.369 MB / 1.239 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008468/1.082, allocations: 3.734 MB / 1.242 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002742/1.084, allocations: 0.6797 MB / 1.243 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004858/1.089, allocations: 1.443 MB / 1.244 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004916/1.094, allocations: 2.62 MB / 1.247 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01081/1.105, allocations: 3.108 MB / 1.25 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02309/1.128, allocations: 10.41 MB / 1.26 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.026e-06/1.128, allocations: 0 / 1.26 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.963e-06/1.128, allocations: 0 / 1.26 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004413/1.129, allocations: 0 / 1.26 GB, free: 3.582 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01855/1.147, allocations: 5.534 MB / 1.266 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/1.147, allocations: 12.92 kB / 1.266 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006419/1.154, allocations: 0.9929 MB / 1.267 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007875/1.162, allocations: 3.192 MB / 1.27 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/1.162, allocations: 357.9 kB / 1.27 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/1.164, allocations: 468.3 kB / 1.271 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02365/1.188, allocations: 7.91 MB / 1.278 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002863/1.188, allocations: 15.88 kB / 1.278 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.19, allocations: 215.9 kB / 1.278 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006965/1.191, allocations: 373.1 kB / 1.279 GB, free: 40 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/1.206, allocations: 5.937 MB / 1.285 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0512/1.257, allocations: 36 MB / 1.32 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/1.262, allocations: 2.138 MB / 1.322 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/1.265, allocations: 1.481 MB / 1.323 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/1.265, allocations: 17.31 kB / 1.323 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/1.265, allocations: 59.8 kB / 1.323 GB, free: 15.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=157): time 4.408e-06/1.265, allocations: 3.938 kB / 1.323 GB, free: 15.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=160): time 0.01566/1.281, allocations: 7.598 MB / 1.331 GB, free: 7.273 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/1.281, allocations: 72.66 kB / 1.331 GB, free: 7.191 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/1.284, allocations: 1.864 MB / 1.333 GB, free: 5.301 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/1.284, allocations: 53.7 kB / 1.333 GB, free: 5.242 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.286, allocations: 2.192 MB / 1.335 GB, free: 3.031 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006764/1.287, allocations: 0.5888 MB / 1.335 GB, free: 2.438 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007857/1.288, allocations: 404 kB / 1.336 GB, free: 2.035 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.288, allocations: 301.1 kB / 1.336 GB, free: 1.738 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/1.289, allocations: 1.062 MB / 1.337 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/1.292, allocations: 1.768 MB / 1.339 GB, free: 14.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/1.296, allocations: 3.041 MB / 1.342 GB, free: 11.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/1.296, allocations: 11.94 kB / 1.342 GB, free: 11.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007266/1.303, allocations: 3.934 MB / 1.346 GB, free: 7.238 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/1.303, allocations: 15.94 kB / 1.346 GB, free: 7.223 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/1.303, allocations: 24 kB / 1.346 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/1.306, allocations: 0.9317 MB / 1.347 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.307, allocations: 419.3 kB / 1.347 GB, free: 5.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/1.33, allocations: 22.78 MB / 1.369 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/1.333, allocations: 120 kB / 1.369 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005417/1.333, allocations: 100 kB / 1.37 GB, free: 13.14 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0038/1.337, allocations: 1.646 MB / 1.371 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000803/1.338, allocations: 270.4 kB / 1.371 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/1.344, allocations: 3.267 MB / 1.375 GB, free: 7.902 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.344, allocations: 16 kB / 1.375 GB, free: 7.887 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-05/1.344, allocations: 11.98 kB / 1.375 GB, free: 7.875 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.344, allocations: 7.969 kB / 1.375 GB, free: 7.867 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.359, allocations: 7.557 MB / 1.382 GB, free: 160 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/1.359, allocations: 4 kB / 1.382 GB, free: 156 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009546/1.36, allocations: 211.8 kB / 1.382 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/1.363, allocations: 0.8965 MB / 1.383 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/1.363, allocations: 28 kB / 1.383 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02317/1.386, allocations: 22.75 MB / 1.405 GB, free: 6.547 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.386, allocations: 4 kB / 1.405 GB, free: 6.543 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006639/1.393, allocations: 3.392 MB / 1.409 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.394, allocations: 0.5461 MB / 1.409 GB, free: 2.469 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007944/1.395, allocations: 32 kB / 1.409 GB, free: 2.438 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.397, allocations: 92.02 kB / 1.409 GB, free: 2.348 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/1.397, allocations: 145 kB / 1.409 GB, free: 2.207 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.397, allocations: 48 kB / 1.409 GB, free: 2.16 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002314/1.399, allocations: 1.221 MB / 1.411 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.91e-07/1.4, allocations: 0 / 1.411 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003881/1.403, allocations: 0.9023 MB / 1.412 GB, free: 24 kB / 1.139 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000401/1.404, allocations: 166.9 kB / 1.412 GB, free: 15.85 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007183/1.411, allocations: 4.435 MB / 1.416 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.411, allocations: 0 / 1.416 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004475/1.416, allocations: 3.008 MB / 1.419 GB, free: 8.102 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005078/1.421, allocations: 0.8266 MB / 1.42 GB, free: 7.293 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.438, allocations: 7.705 MB / 1.427 GB, free: 15.49 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005509/1.444, allocations: 3.205 MB / 1.43 GB, free: 12.25 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002661/1.447, allocations: 0.5332 MB / 1.431 GB, free: 11.71 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/1.447, allocations: 151.3 kB / 1.431 GB, free: 11.57 MB / 1.17 GB Notification: Performance of SimCode: time 1.312e-06/1.447, allocations: 0 / 1.431 GB, free: 11.57 MB / 1.17 GB Notification: Performance of Templates: time 0.08135/1.529, allocations: 41.61 MB / 1.472 GB, free: 2.516 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches