Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.0009488/0.0009491, 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.0009485/0.0009486, 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.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.2 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 12 kB / 0.8146 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8418, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008346/0.8502, allocations: 8.775 MB / 0.9621 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005504/0.8557, allocations: 3.023 MB / 0.965 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.8568, allocations: 29.12 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.8573, allocations: 182.8 kB / 0.9652 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.859, allocations: 0.4897 MB / 0.9657 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.8605, allocations: 0.5215 MB / 0.9662 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00291/0.8634, allocations: 1.453 MB / 0.9676 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004922/0.8683, allocations: 2.718 MB / 0.9703 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.8702, allocations: 0.8108 MB / 0.9711 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.8717, allocations: 1.001 MB / 0.9721 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.872, allocations: 113.9 kB / 0.9722 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000737/0.8727, allocations: 231.1 kB / 0.9724 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008988/0.8736, allocations: 0.8419 MB / 0.9732 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.8741, allocations: 382 kB / 0.9736 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.877, allocations: 2.967 MB / 0.9765 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.877, allocations: 0 / 0.9765 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.877, allocations: 1.031 kB / 0.9765 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.416e-05/0.8771, allocations: 0 / 0.9765 GB, free: 7.754 MB / 0.7325 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.004266/0.8814, allocations: 1.773 MB / 0.9782 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.8814, allocations: 8.438 kB / 0.9782 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009679/0.8911, allocations: 1.442 MB / 0.9796 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.8946, allocations: 1.219 MB / 0.9808 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.8947, allocations: 111 kB / 0.9809 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005342/0.8953, allocations: 148 kB / 0.9811 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005524/0.9008, allocations: 3.409 MB / 0.9844 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.9009, allocations: 11.86 kB / 0.9844 GB, free: 248 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.9011, allocations: 67.95 kB / 0.9845 GB, free: 180 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002763/0.9014, allocations: 207.1 kB / 0.9847 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004923/0.9063, allocations: 3.116 MB / 0.9877 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.926, allocations: 13.58 MB / 1.001 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.9286, allocations: 1.721 MB / 1.003 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-05/0.9287, allocations: 20.98 kB / 1.003 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.9288, allocations: 43.56 kB / 1.003 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.9288, allocations: 3.938 kB / 1.003 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1492/1.078, allocations: 35.95 MB / 1.038 GB, free: 8.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/1.078, allocations: 69.41 kB / 1.038 GB, free: 8.418 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.08, allocations: 1.046 MB / 1.039 GB, free: 7.348 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004386/1.081, allocations: 53.7 kB / 1.039 GB, free: 7.289 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/1.082, allocations: 0.7874 MB / 1.04 GB, free: 6.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009092/1.082, allocations: 0.616 MB / 1.04 GB, free: 5.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/1.083, allocations: 40 kB / 1.04 GB, free: 5.824 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000238/1.083, allocations: 389.9 kB / 1.041 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/1.086, allocations: 1.928 MB / 1.043 GB, free: 3.508 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/1.089, allocations: 2.273 MB / 1.045 GB, free: 1.113 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/1.093, allocations: 2.217 MB / 1.047 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/1.093, allocations: 4 kB / 1.047 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02192/1.115, allocations: 8.995 MB / 1.056 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/1.115, allocations: 9.094 kB / 1.056 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/1.115, allocations: 12 kB / 1.056 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0179/1.133, allocations: 4.97 MB / 1.061 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.134, allocations: 199.6 kB / 1.061 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06281/1.197, allocations: 36.84 MB / 1.097 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.199, allocations: 107.8 kB / 1.097 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005345/1.2, allocations: 75.92 kB / 1.097 GB, free: 11.09 MB / 0.8575 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.001801/1.202, allocations: 0.7999 MB / 1.098 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/1.202, allocations: 134.4 kB / 1.098 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/1.223, allocations: 8.875 MB / 1.107 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/1.223, allocations: 20 kB / 1.107 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.001e-05/1.223, allocations: 35.94 kB / 1.107 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-05/1.223, allocations: 11.91 kB / 1.107 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02783/1.251, allocations: 13.14 MB / 1.119 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/1.251, allocations: 4 kB / 1.119 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/1.252, allocations: 127.8 kB / 1.12 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01571/1.267, allocations: 4.745 MB / 1.124 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/1.268, allocations: 36 kB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05274/1.32, allocations: 32.99 MB / 1.157 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.32, allocations: 4 kB / 1.157 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/1.34, allocations: 8.568 MB / 1.165 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.342, allocations: 0.6124 MB / 1.165 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/1.342, allocations: 36 kB / 1.166 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.343, allocations: 95.88 kB / 1.166 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008952/1.344, allocations: 157.7 kB / 1.166 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.344, allocations: 48 kB / 1.166 GB, free: 3.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001104/1.346, allocations: 0.7304 MB / 1.167 GB, free: 2.969 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.41e-07/1.346, allocations: 0 / 1.167 GB, free: 2.969 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003721/1.349, allocations: 1.004 MB / 1.167 GB, free: 1.965 MB / 0.92 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.0003499/1.35, allocations: 147.1 kB / 1.168 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009771/1.359, allocations: 5.842 MB / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.359, allocations: 0 / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00799/1.367, allocations: 3.777 MB / 1.177 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.369, allocations: 197.1 kB / 1.177 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009284/1.378, allocations: 5.625 MB / 1.183 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.381, allocations: 1.895 MB / 1.185 GB, free: 312 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009497/1.382, allocations: 351.5 kB / 1.185 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/1.382, allocations: 59.44 kB / 1.185 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/1.382, allocations: 0 / 1.185 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of Templates: time 0.08743/1.469, allocations: 54.47 MB / 1.238 GB, free: 9.551 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches