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.0009786/0.0009786, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.273 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.396/2.396, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6793, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009086/0.6885, allocations: 9.59 MB / 0.9651 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005963/0.6945, allocations: 3.141 MB / 0.9682 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.6955, allocations: 30.31 kB / 0.9682 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.6961, allocations: 188.6 kB / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.698, allocations: 0.6956 MB / 0.969 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.6997, allocations: 0.6477 MB / 0.9697 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.7051, allocations: 4.486 MB / 0.9741 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005702/0.7108, allocations: 3.145 MB / 0.9771 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.7132, allocations: 0.9358 MB / 0.978 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.7157, allocations: 1.46 MB / 0.9795 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/0.716, allocations: 112 kB / 0.9796 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.7174, allocations: 459.2 kB / 0.98 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.7185, allocations: 0.9353 MB / 0.9809 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.7199, allocations: 0.9657 MB / 0.9819 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.7232, allocations: 3.017 MB / 0.9848 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7232, allocations: 0 / 0.9848 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7233, allocations: 0 / 0.9848 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.964e-05/0.7233, allocations: 0 / 0.9848 GB, free: 1.441 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.00409/0.7274, allocations: 1.756 MB / 0.9865 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7275, allocations: 16.03 kB / 0.9865 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009276/0.7368, allocations: 1.317 MB / 0.9878 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.7398, allocations: 1.247 MB / 0.9891 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.7399, allocations: 115.3 kB / 0.9892 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004652/0.7404, allocations: 148.3 kB / 0.9893 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/0.7466, allocations: 3.445 MB / 0.9927 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/0.7467, allocations: 7.844 kB / 0.9927 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.7471, allocations: 63.97 kB / 0.9927 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003702/0.7475, allocations: 203.1 kB / 0.9929 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.7529, allocations: 3.128 MB / 0.996 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.772, allocations: 13.59 MB / 1.009 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.7747, allocations: 1.735 MB / 1.011 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.7768, allocations: 1.432 MB / 1.012 GB, free: 4.148 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.7769, allocations: 13 kB / 1.012 GB, free: 4.137 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.777, allocations: 47.5 kB / 1.012 GB, free: 4.082 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 2.946e-06/0.777, allocations: 0 / 1.012 GB, free: 4.082 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1553/0.9323, allocations: 35.95 MB / 1.048 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.9324, allocations: 73.41 kB / 1.048 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.9342, allocations: 1.054 MB / 1.049 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003503/0.9345, allocations: 57.7 kB / 1.049 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.9353, allocations: 0.7834 MB / 1.049 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.9364, allocations: 0.6278 MB / 1.05 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.9369, allocations: 153.6 kB / 1.05 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.937, allocations: 305.1 kB / 1.05 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.9402, allocations: 1.928 MB / 1.052 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003496/0.9438, allocations: 2.285 MB / 1.055 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007211/0.951, allocations: 4.394 MB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/0.9511, allocations: 4 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02345/0.9745, allocations: 9.021 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.9746, allocations: 11.94 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.9747, allocations: 15.98 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01867/0.9933, allocations: 4.969 MB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/0.9943, allocations: 195.6 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06051/1.055, allocations: 35.15 MB / 1.107 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.057, allocations: 99.88 kB / 1.107 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/1.058, allocations: 68 kB / 1.107 GB, free: 1.879 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001992/1.06, allocations: 0.8172 MB / 1.108 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004877/1.06, allocations: 142.3 kB / 1.108 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02201/1.082, allocations: 8.886 MB / 1.117 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/1.082, allocations: 16 kB / 1.117 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.662e-05/1.082, allocations: 28 kB / 1.117 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/1.082, allocations: 15.95 kB / 1.117 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02907/1.112, allocations: 13.27 MB / 1.13 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/1.112, allocations: 8.031 kB / 1.13 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/1.112, allocations: 123.8 kB / 1.13 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01793/1.13, allocations: 4.758 MB / 1.135 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003956/1.13, allocations: 36 kB / 1.135 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05252/1.183, allocations: 31.44 MB / 1.165 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/1.183, allocations: 15.86 kB / 1.165 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0206/1.204, allocations: 8.392 MB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.205, allocations: 0.624 MB / 1.174 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005123/1.206, allocations: 32 kB / 1.174 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.207, allocations: 99.83 kB / 1.174 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008599/1.208, allocations: 161.6 kB / 1.174 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.208, allocations: 44 kB / 1.175 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001145/1.21, allocations: 0.7421 MB / 1.175 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.21, allocations: 0 / 1.175 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003426/1.213, allocations: 1.008 MB / 1.176 GB, free: 10.34 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003773/1.213, allocations: 144 kB / 1.176 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.224, allocations: 5.838 MB / 1.182 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.224, allocations: 0 / 1.182 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008535/1.232, allocations: 3.808 MB / 1.186 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.235, allocations: 237.8 kB / 1.186 GB, free: 212 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/1.244, allocations: 6.076 MB / 1.192 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/1.246, allocations: 1.89 MB / 1.194 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/1.247, allocations: 71.42 kB / 1.194 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of SimCode: time 7.11e-07/1.247, allocations: 0 / 1.194 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.5782/1.825, allocations: 68.78 MB / 1.261 GB, free: 267.4 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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