Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001721, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001906/0.001906, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.7112 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.16 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2839, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02233/0.3063, allocations: 20.25 MB / 1.039 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3168, allocations: 6.453 MB / 1.045 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.3183, allocations: 83.62 kB / 1.045 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005691/0.3241, allocations: 2.233 MB / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.3271, allocations: 1.181 MB / 1.048 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.3302, allocations: 1.293 MB / 1.05 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005518/0.3358, allocations: 4.85 MB / 1.054 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006537/0.3423, allocations: 5.587 MB / 1.06 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.3453, allocations: 2.091 MB / 1.062 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.3488, allocations: 2.337 MB / 1.064 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008557/0.3497, allocations: 432 kB / 1.064 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.3519, allocations: 1.006 MB / 1.065 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.3538, allocations: 1.661 MB / 1.067 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002962/0.3568, allocations: 1.914 MB / 1.069 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.5705/0.9273, allocations: 6.518 MB / 1.075 GB, free: 28.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.9274, allocations: 0 / 1.075 GB, free: 28.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9274, allocations: 1.719 kB / 1.075 GB, free: 28.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002369/0.9276, allocations: 0 / 1.075 GB, free: 28.3 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008899/0.9365, allocations: 3.457 MB / 1.079 GB, free: 27.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.9366, allocations: 10.11 kB / 1.079 GB, free: 27.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/0.9406, allocations: 0.6373 MB / 1.079 GB, free: 26.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005391/0.946, allocations: 2.042 MB / 1.081 GB, free: 26.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.9463, allocations: 224.8 kB / 1.082 GB, free: 26.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007682/0.947, allocations: 295 kB / 1.082 GB, free: 26.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.9589, allocations: 4.894 MB / 1.087 GB, free: 25.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.959, allocations: 12.55 kB / 1.087 GB, free: 25.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.9594, allocations: 125 kB / 1.087 GB, free: 25.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005906/0.96, allocations: 230 kB / 1.087 GB, free: 25.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007406/0.9674, allocations: 3.75 MB / 1.091 GB, free: 25.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.9889, allocations: 21.39 MB / 1.112 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.9907, allocations: 1.313 MB / 1.113 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.9922, allocations: 1.059 MB / 1.114 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-05/0.9923, allocations: 12.69 kB / 1.114 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.9923, allocations: 48.28 kB / 1.114 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=107): time 3.387e-06/0.9923, allocations: 0.9375 kB / 1.114 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138): time 0.02375/1.016, allocations: 8.648 MB / 1.122 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/1.016, allocations: 65.91 kB / 1.122 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/1.018, allocations: 1.135 MB / 1.123 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/1.018, allocations: 47.48 kB / 1.124 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/1.019, allocations: 1.301 MB / 1.125 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/1.019, allocations: 476.1 kB / 1.125 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000448/1.02, allocations: 289.6 kB / 1.126 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/1.02, allocations: 306.1 kB / 1.126 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/1.021, allocations: 0.9166 MB / 1.127 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.022, allocations: 1.327 MB / 1.128 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/1.025, allocations: 2.423 MB / 1.13 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.025, allocations: 3.406 kB / 1.13 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006641/1.032, allocations: 3.471 MB / 1.134 GB, free: 92 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.032, allocations: 10.47 kB / 1.134 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.032, allocations: 12.09 kB / 1.134 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/1.035, allocations: 1.185 MB / 1.135 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.036, allocations: 258.5 kB / 1.135 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.054, allocations: 13.85 MB / 1.149 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.056, allocations: 89.09 kB / 1.149 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/1.056, allocations: 66.66 kB / 1.149 GB, free: 6.723 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001869/1.058, allocations: 1.117 MB / 1.15 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/1.058, allocations: 163.2 kB / 1.15 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005544/1.064, allocations: 3.166 MB / 1.153 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.064, allocations: 13.44 kB / 1.153 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.064, allocations: 12.59 kB / 1.153 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/1.064, allocations: 11.91 kB / 1.153 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.074, allocations: 6.251 MB / 1.159 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.074, allocations: 5 kB / 1.159 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/1.075, allocations: 143.6 kB / 1.159 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/1.078, allocations: 1.077 MB / 1.161 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.078, allocations: 23.19 kB / 1.161 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/1.094, allocations: 13.54 MB / 1.174 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.094, allocations: 4 kB / 1.174 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/1.1, allocations: 3.149 MB / 1.177 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.101, allocations: 427 kB / 1.177 GB, free: 328 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.101, allocations: 31.94 kB / 1.177 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008001/1.102, allocations: 83.89 kB / 1.177 GB, free: 212 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/1.102, allocations: 127.6 kB / 1.178 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/1.102, allocations: 36 kB / 1.178 GB, free: 56 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001042/1.103, allocations: 0.7671 MB / 1.178 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.103, allocations: 1.859 kB / 1.178 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002277/1.106, allocations: 0.6602 MB / 1.179 GB, free: 14.62 MB / 0.8887 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002477/1.106, allocations: 148.7 kB / 1.179 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004814/1.111, allocations: 3.137 MB / 1.182 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/1.111, allocations: 8.062 kB / 1.182 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002874/1.114, allocations: 1.958 MB / 1.184 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.116, allocations: 0.4959 MB / 1.185 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009458/1.125, allocations: 5.368 MB / 1.19 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00234/1.128, allocations: 2.34 MB / 1.192 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001094/1.129, allocations: 354.1 kB / 1.192 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/1.129, allocations: 87.42 kB / 1.193 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of SimCode: time 1.413e-06/1.129, allocations: 0 / 1.193 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of Templates: time 0.05656/1.186, allocations: 32.68 MB / 1.224 GB, free: 0.5156 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches