Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00128/0.00128, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001339/0.001339, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.504/1.504, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6644 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 71.88 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8211, allocations: 140.3 MB / 0.9491 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0228/0.844, allocations: 20.1 MB / 0.9687 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.8583, allocations: 6.389 MB / 0.975 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003384/0.8617, allocations: 78.53 kB / 0.9751 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006281/0.8681, allocations: 2.093 MB / 0.9771 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.873, allocations: 1.091 MB / 0.9782 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.8773, allocations: 1.178 MB / 0.9793 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008333/0.8857, allocations: 4.873 MB / 0.9841 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.8963, allocations: 6.743 MB / 0.9907 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004195/0.9006, allocations: 2.118 MB / 0.9927 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004342/0.9049, allocations: 2.454 MB / 0.9951 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.9064, allocations: 435.9 kB / 0.9955 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.9099, allocations: 0.9987 MB / 0.9965 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002567/0.9125, allocations: 1.669 MB / 0.9981 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003519/0.916, allocations: 1.91 MB / 1 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008341/0.9244, allocations: 6.532 MB / 1.006 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9244, allocations: 0 / 1.006 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9244, allocations: 0 / 1.006 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001638/0.9246, allocations: 0 / 1.006 GB, free: 7.348 MB / 0.7637 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.007418/0.932, allocations: 3.452 MB / 1.01 GB, free: 3.832 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.9321, allocations: 11.97 kB / 1.01 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.9357, allocations: 0.641 MB / 1.01 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.9396, allocations: 1.94 MB / 1.012 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.9398, allocations: 214.3 kB / 1.012 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005888/0.9404, allocations: 300.3 kB / 1.013 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008923/0.9493, allocations: 4.882 MB / 1.018 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.703e-05/0.9495, allocations: 15.84 kB / 1.018 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/0.9498, allocations: 132 kB / 1.018 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004408/0.9502, allocations: 229.7 kB / 1.018 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00626/0.9565, allocations: 3.75 MB / 1.022 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/0.9824, allocations: 21.57 MB / 1.043 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.9845, allocations: 1.313 MB / 1.044 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.986, allocations: 1.049 MB / 1.045 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.533e-05/0.9861, allocations: 13 kB / 1.045 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.9861, allocations: 43.56 kB / 1.045 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/0.9861, allocations: 0 / 1.045 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138): time 0.02459/1.011, allocations: 8.653 MB / 1.053 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/1.011, allocations: 68.72 kB / 1.054 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/1.012, allocations: 1.13 MB / 1.055 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.012, allocations: 49.7 kB / 1.055 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.014, allocations: 1.3 MB / 1.056 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/1.014, allocations: 481 kB / 1.056 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/1.014, allocations: 291.3 kB / 1.057 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.015, allocations: 305.1 kB / 1.057 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/1.016, allocations: 0.9135 MB / 1.058 GB, free: 168 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/1.017, allocations: 1.326 MB / 1.059 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/1.02, allocations: 2.422 MB / 1.062 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.02, allocations: 4 kB / 1.062 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0061/1.026, allocations: 3.467 MB / 1.065 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.026, allocations: 14.34 kB / 1.065 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.027, allocations: 12 kB / 1.065 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003387/1.03, allocations: 1.199 MB / 1.066 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/1.031, allocations: 255.6 kB / 1.066 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.048, allocations: 13.86 MB / 1.08 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.049, allocations: 91.97 kB / 1.08 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.049, allocations: 60 kB / 1.08 GB, free: 8.688 MB / 0.8419 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.001773/1.051, allocations: 1.118 MB / 1.081 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/1.051, allocations: 158.1 kB / 1.081 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/1.057, allocations: 3.173 MB / 1.084 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.057, allocations: 16 kB / 1.084 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.057, allocations: 15.94 kB / 1.084 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.057, allocations: 7.969 kB / 1.084 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.067, allocations: 6.245 MB / 1.09 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.068, allocations: 8.125 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/1.068, allocations: 147.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/1.071, allocations: 1.07 MB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/1.071, allocations: 35.98 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.088, allocations: 13.54 MB / 1.105 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.088, allocations: 8 kB / 1.105 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/1.094, allocations: 3.154 MB / 1.108 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/1.095, allocations: 423.1 kB / 1.108 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.095, allocations: 27.94 kB / 1.108 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/1.096, allocations: 87.89 kB / 1.109 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/1.096, allocations: 120.7 kB / 1.109 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-05/1.096, allocations: 40 kB / 1.109 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001003/1.097, allocations: 0.7632 MB / 1.109 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.097, allocations: 0 / 1.109 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001875/1.099, allocations: 0.6602 MB / 1.11 GB, free: 9.18 MB / 0.8731 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.0002433/1.099, allocations: 147 kB / 1.11 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005716/1.105, allocations: 3.634 MB / 1.114 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.105, allocations: 0 / 1.114 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/1.108, allocations: 1.955 MB / 1.116 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.11, allocations: 0.4961 MB / 1.116 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009967/1.12, allocations: 6.748 MB / 1.123 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/1.123, allocations: 2.332 MB / 1.125 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001346/1.124, allocations: 354.1 kB / 1.125 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/1.124, allocations: 91.44 kB / 1.125 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of SimCode: time 1.032e-06/1.124, allocations: 0 / 1.125 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of Templates: time 0.05293/1.177, allocations: 32.84 MB / 1.158 GB, free: 8.84 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches