Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 100 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.00163/0.001631, 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.513/1.513, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003578, allocations: 11.98 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8233, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009783/0.8331, allocations: 8.764 MB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004966/0.8381, allocations: 3.023 MB / 1.032 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.8389, allocations: 27.81 kB / 1.032 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.8393, allocations: 182.9 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.8406, allocations: 0.4946 MB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.8419, allocations: 0.5295 MB / 1.034 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.8438, allocations: 1.45 MB / 1.035 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003815/0.8476, allocations: 2.723 MB / 1.038 GB, free: 15.83 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.849, allocations: 0.8061 MB / 1.038 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.8505, allocations: 1.001 MB / 1.039 GB, free: 14.02 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.8508, allocations: 116 kB / 1.039 GB, free: 13.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/0.8514, allocations: 223.8 kB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007727/0.8522, allocations: 0.842 MB / 1.041 GB, free: 12.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.8526, allocations: 384.8 kB / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.8551, allocations: 2.967 MB / 1.044 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.8551, allocations: 3.938 kB / 1.044 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8551, allocations: 0 / 1.044 GB, free: 9.484 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.242e-05/0.8552, allocations: 0 / 1.044 GB, free: 9.484 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003615/0.8588, allocations: 1.772 MB / 1.046 GB, free: 7.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.8589, allocations: 15.98 kB / 1.046 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009121/0.868, allocations: 1.426 MB / 1.047 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.8712, allocations: 1.227 MB / 1.048 GB, free: 4.941 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.8714, allocations: 111 kB / 1.048 GB, free: 4.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.8718, allocations: 151.9 kB / 1.048 GB, free: 4.684 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005652/0.8775, allocations: 3.409 MB / 1.052 GB, free: 1.176 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.8775, allocations: 4 kB / 1.052 GB, free: 1.172 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.8777, allocations: 67.95 kB / 1.052 GB, free: 1.105 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002659/0.878, allocations: 203.1 kB / 1.052 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/0.883, allocations: 3.124 MB / 1.055 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.019/0.902, allocations: 13.58 MB / 1.068 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.9044, allocations: 1.725 MB / 1.07 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.9045, allocations: 16.98 kB / 1.07 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.9046, allocations: 43.56 kB / 1.07 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.9046, allocations: 0 / 1.07 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1466/1.051, allocations: 35.93 MB / 1.105 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/1.051, allocations: 73.34 kB / 1.105 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.053, allocations: 1.053 MB / 1.106 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004609/1.054, allocations: 49.7 kB / 1.106 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006152/1.054, allocations: 0.7874 MB / 1.107 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009574/1.055, allocations: 0.6238 MB / 1.108 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/1.056, allocations: 40 kB / 1.108 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.056, allocations: 393.8 kB / 1.108 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/1.059, allocations: 1.921 MB / 1.11 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/1.063, allocations: 2.281 MB / 1.112 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/1.066, allocations: 2.215 MB / 1.114 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.066, allocations: 4 kB / 1.114 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02346/1.09, allocations: 8.991 MB / 1.123 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.09, allocations: 11.94 kB / 1.123 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.09, allocations: 8.656 kB / 1.123 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01772/1.108, allocations: 4.981 MB / 1.128 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/1.109, allocations: 187.7 kB / 1.128 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06017/1.169, allocations: 36.85 MB / 1.164 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/1.171, allocations: 103.9 kB / 1.164 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/1.172, allocations: 68 kB / 1.164 GB, free: 12.03 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002168/1.174, allocations: 0.7979 MB / 1.165 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/1.174, allocations: 146.3 kB / 1.165 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/1.195, allocations: 8.871 MB / 1.174 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/1.196, allocations: 16 kB / 1.174 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001044/1.196, allocations: 32 kB / 1.174 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/1.196, allocations: 7.969 kB / 1.174 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03165/1.227, allocations: 13.14 MB / 1.187 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/1.227, allocations: 4 kB / 1.187 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/1.228, allocations: 119.8 kB / 1.187 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01819/1.246, allocations: 4.748 MB / 1.192 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005866/1.247, allocations: 36 kB / 1.192 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05769/1.305, allocations: 33 MB / 1.224 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.305, allocations: 4 kB / 1.224 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/1.326, allocations: 8.557 MB / 1.232 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.328, allocations: 0.6124 MB / 1.233 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006481/1.329, allocations: 36 kB / 1.233 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.33, allocations: 87.89 kB / 1.233 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000932/1.331, allocations: 169.7 kB / 1.233 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.332, allocations: 48 kB / 1.233 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001089/1.333, allocations: 0.7304 MB / 1.234 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/1.333, allocations: 0 / 1.234 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003567/1.336, allocations: 1.004 MB / 1.235 GB, free: 2.91 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004173/1.337, allocations: 143.1 kB / 1.235 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.347, allocations: 5.834 MB / 1.241 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.347, allocations: 0 / 1.241 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008546/1.356, allocations: 3.769 MB / 1.244 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/1.358, allocations: 210.5 kB / 1.244 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.37, allocations: 5.621 MB / 1.25 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/1.372, allocations: 1.899 MB / 1.252 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001274/1.374, allocations: 339.4 kB / 1.252 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/1.374, allocations: 67.36 kB / 1.252 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.374, allocations: 0 / 1.252 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of Templates: time 0.6525/2.027, allocations: 54.46 MB / 1.305 GB, free: 187.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches