Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001323/0.001324, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.584/2.584, allocations: 437.1 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 68.36 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03794/0.3819, allocations: 26.67 MB / 1.044 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.3981, allocations: 8.063 MB / 1.052 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.4007, allocations: 119.4 kB / 1.052 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.008072/0.4089, allocations: 2.763 MB / 1.055 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005408/0.4143, allocations: 1.578 MB / 1.056 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005415/0.4197, allocations: 1.675 MB / 1.058 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008913/0.4287, allocations: 6.15 MB / 1.064 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01321/0.4419, allocations: 7.413 MB / 1.071 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006418/0.4484, allocations: 2.563 MB / 1.074 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5454/0.9938, allocations: 2.834 MB / 1.076 GB, free: 26.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002221/0.9961, allocations: 0.5076 MB / 1.077 GB, free: 26.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.9998, allocations: 1.28 MB / 1.078 GB, free: 26.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003702/1.003, allocations: 2.053 MB / 1.08 GB, free: 26.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007248/1.011, allocations: 2.377 MB / 1.082 GB, free: 25.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/1.027, allocations: 8.005 MB / 1.09 GB, free: 25.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.027, allocations: 2.312 kB / 1.09 GB, free: 25.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.374e-06/1.027, allocations: 0 / 1.09 GB, free: 25.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000405/1.027, allocations: 0.6875 kB / 1.09 GB, free: 25.17 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01933/1.047, allocations: 4.225 MB / 1.094 GB, free: 23.55 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.047, allocations: 10.64 kB / 1.094 GB, free: 23.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006617/1.053, allocations: 0.8042 MB / 1.095 GB, free: 23.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007491/1.061, allocations: 2.423 MB / 1.098 GB, free: 22.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/1.061, allocations: 275.2 kB / 1.098 GB, free: 22.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/1.064, allocations: 372.8 kB / 1.098 GB, free: 22.76 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02201/1.086, allocations: 5.99 MB / 1.104 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003456/1.086, allocations: 24.58 kB / 1.104 GB, free: 21.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/1.088, allocations: 160 kB / 1.104 GB, free: 21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008995/1.089, allocations: 281.8 kB / 1.105 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/1.102, allocations: 4.521 MB / 1.109 GB, free: 19.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04029/1.143, allocations: 27.67 MB / 1.136 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/1.145, allocations: 1.117 MB / 1.137 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/1.147, allocations: 1.021 MB / 1.138 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/1.147, allocations: 11.78 kB / 1.138 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.147, allocations: 48.81 kB / 1.138 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 3.667e-06/1.147, allocations: 0 / 1.138 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.02644/1.173, allocations: 9.667 MB / 1.148 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.173, allocations: 65.12 kB / 1.148 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/1.176, allocations: 1.495 MB / 1.149 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002722/1.177, allocations: 47.8 kB / 1.149 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.178, allocations: 1.668 MB / 1.151 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/1.179, allocations: 471.2 kB / 1.151 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000701/1.179, allocations: 327.5 kB / 1.151 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.179, allocations: 309.1 kB / 1.152 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/1.181, allocations: 0.9172 MB / 1.153 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/1.183, allocations: 1.466 MB / 1.154 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/1.187, allocations: 2.552 MB / 1.157 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/1.187, allocations: 6.938 kB / 1.157 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006146/1.193, allocations: 3.282 MB / 1.16 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.193, allocations: 22.94 kB / 1.16 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/1.193, allocations: 18.88 kB / 1.16 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/1.195, allocations: 0.7391 MB / 1.161 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.197, allocations: 388.3 kB / 1.161 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/1.214, allocations: 17.05 MB / 1.178 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.217, allocations: 98.88 kB / 1.178 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.217, allocations: 81.19 kB / 1.178 GB, free: 13.37 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00286/1.22, allocations: 1.309 MB / 1.179 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/1.22, allocations: 197.8 kB / 1.179 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005136/1.226, allocations: 2.783 MB / 1.182 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.226, allocations: 15.12 kB / 1.182 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.226, allocations: 15.78 kB / 1.182 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/1.226, allocations: 7.969 kB / 1.182 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.238, allocations: 6.215 MB / 1.188 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.238, allocations: 4 kB / 1.188 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.24, allocations: 232.8 kB / 1.188 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/1.242, allocations: 0.6782 MB / 1.189 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.242, allocations: 31.98 kB / 1.189 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/1.26, allocations: 16.79 MB / 1.205 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.26, allocations: 8 kB / 1.205 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008214/1.268, allocations: 4.012 MB / 1.209 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.27, allocations: 458.5 kB / 1.21 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/1.27, allocations: 32 kB / 1.21 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.271, allocations: 83.83 kB / 1.21 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/1.272, allocations: 115.6 kB / 1.21 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/1.272, allocations: 44 kB / 1.21 GB, free: 12.89 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001559/1.273, allocations: 0.9903 MB / 1.211 GB, free: 11.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/1.273, allocations: 0 / 1.211 GB, free: 11.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003016/1.276, allocations: 0.6836 MB / 1.212 GB, free: 11.23 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003176/1.277, allocations: 165.2 kB / 1.212 GB, free: 11.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007345/1.284, allocations: 4.094 MB / 1.216 GB, free: 6.934 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.284, allocations: 0 / 1.216 GB, free: 6.934 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003682/1.288, allocations: 2.296 MB / 1.218 GB, free: 4.555 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.291, allocations: 0.6664 MB / 1.219 GB, free: 3.918 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.306, allocations: 7.039 MB / 1.226 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003809/1.31, allocations: 2.715 MB / 1.228 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007174/1.31, allocations: 131.4 kB / 1.228 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of SimCode: time 1.252e-06/1.31, allocations: 0 / 1.228 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of Templates: time 0.236/1.546, allocations: 209.6 MB / 1.433 GB, free: 8.348 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches