Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00121/0.00121, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001276/0.001276, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 19.92 kB / 0.8708 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9056/0.906, allocations: 153.6 MB / 1.021 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02558/0.9316, allocations: 23.26 MB / 1.044 GB, free: 9.719 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.9458, allocations: 7.771 MB / 1.051 GB, free: 1.93 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/0.9498, allocations: 95.38 kB / 1.051 GB, free: 1.836 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.9524, allocations: 0.5124 MB / 1.052 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.9578, allocations: 1.176 MB / 1.053 GB, free: 144 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.9622, allocations: 1.005 MB / 1.054 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007412/0.9697, allocations: 3.007 MB / 1.057 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01682/0.9865, allocations: 8.168 MB / 1.065 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005077/0.9917, allocations: 1.65 MB / 1.066 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.9962, allocations: 1.666 MB / 1.068 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001691/0.9979, allocations: 212 kB / 1.068 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/1.001, allocations: 0.5034 MB / 1.069 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002759/1.004, allocations: 1.524 MB / 1.07 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/1.005, allocations: 0.8005 MB / 1.071 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00776/1.013, allocations: 6.516 MB / 1.077 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.013, allocations: 0 / 1.077 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.695e-06/1.013, allocations: 0 / 1.077 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002611/1.013, allocations: 0 / 1.077 GB, free: 6.984 MB / 0.8262 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.008837/1.022, allocations: 3.432 MB / 1.081 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.022, allocations: 11.98 kB / 1.081 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/1.027, allocations: 0.7796 MB / 1.081 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005656/1.032, allocations: 2.366 MB / 1.084 GB, free: 276 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/1.033, allocations: 271.3 kB / 1.084 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/1.034, allocations: 371.9 kB / 1.084 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/1.046, allocations: 5.934 MB / 1.09 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.4e-05/1.046, allocations: 19.88 kB / 1.09 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/1.046, allocations: 159.9 kB / 1.09 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006231/1.047, allocations: 282.9 kB / 1.091 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008777/1.056, allocations: 4.492 MB / 1.095 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03715/1.093, allocations: 27.69 MB / 1.122 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/1.095, allocations: 1.119 MB / 1.123 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.147e-05/1.095, allocations: 12.98 kB / 1.123 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/1.095, allocations: 51.56 kB / 1.123 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/1.095, allocations: 0 / 1.123 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of matching and sorting (n=131): time 0.02355/1.119, allocations: 9.66 MB / 1.133 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/1.119, allocations: 64.72 kB / 1.133 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/1.122, allocations: 1.482 MB / 1.134 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003778/1.122, allocations: 49.7 kB / 1.134 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/1.124, allocations: 1.667 MB / 1.136 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007564/1.125, allocations: 469.3 kB / 1.136 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/1.125, allocations: 39.94 kB / 1.136 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000257/1.125, allocations: 373.9 kB / 1.137 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.126, allocations: 0.9096 MB / 1.138 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/1.128, allocations: 1.447 MB / 1.139 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.13, allocations: 1.15 MB / 1.14 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/1.13, allocations: 4 kB / 1.14 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005995/1.136, allocations: 3.274 MB / 1.143 GB, free: 0 / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/1.136, allocations: 12.05 kB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/1.136, allocations: 19.94 kB / 1.143 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/1.138, allocations: 0.7414 MB / 1.144 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.14, allocations: 387.3 kB / 1.144 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/1.156, allocations: 16.03 MB / 1.16 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.158, allocations: 103.9 kB / 1.16 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/1.158, allocations: 76 kB / 1.16 GB, free: 13.41 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002608/1.161, allocations: 1.313 MB / 1.162 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/1.161, allocations: 209.5 kB / 1.162 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/1.166, allocations: 2.769 MB / 1.164 GB, free: 9.066 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.166, allocations: 12 kB / 1.164 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.166, allocations: 8 kB / 1.164 GB, free: 9.047 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.166, allocations: 7.969 kB / 1.164 GB, free: 9.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.177, allocations: 6.209 MB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.177, allocations: 4 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.178, allocations: 235.6 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.18, allocations: 0.6635 MB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/1.18, allocations: 36 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/1.195, allocations: 15.78 MB / 1.187 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.195, allocations: 12.06 kB / 1.187 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/1.202, allocations: 4.334 MB / 1.191 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.203, allocations: 454.6 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/1.203, allocations: 36 kB / 1.192 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/1.204, allocations: 79.89 kB / 1.192 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/1.205, allocations: 112.8 kB / 1.192 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/1.205, allocations: 44 kB / 1.192 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001346/1.206, allocations: 0.9786 MB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.206, allocations: 0 / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002347/1.208, allocations: 0.6836 MB / 1.193 GB, free: 9.766 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002821/1.209, allocations: 153.5 kB / 1.194 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005247/1.214, allocations: 3.491 MB / 1.197 GB, free: 6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.214, allocations: 4 kB / 1.197 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003241/1.217, allocations: 2.288 MB / 1.199 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.22, allocations: 0.5964 MB / 1.2 GB, free: 3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.233, allocations: 7.84 MB / 1.207 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/1.236, allocations: 2.73 MB / 1.21 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001979/1.238, allocations: 489.4 kB / 1.211 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/1.239, allocations: 119.4 kB / 1.211 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of SimCode: time 1.042e-06/1.239, allocations: 0 / 1.211 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of Templates: time 0.05747/1.296, allocations: 31.17 MB / 1.241 GB, free: 9.004 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches