Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.0008296/0.0008297, allocations: 91.92 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.00105/0.00105, allocations: 180.3 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.203 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.715/2.715, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.000361, allocations: 12 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6764, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004949/0.6814, allocations: 5.156 MB / 0.9607 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003621/0.6851, allocations: 2.617 MB / 0.9633 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000382/0.6855, allocations: 21.94 kB / 0.9633 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.6858, allocations: 108.1 kB / 0.9634 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.6867, allocations: 374.5 kB / 0.9638 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.6876, allocations: 375.8 kB / 0.9641 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.6888, allocations: 1.253 MB / 0.9654 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.6901, allocations: 0.7924 MB / 0.9661 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.6907, allocations: 316 kB / 0.9664 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.6912, allocations: 386.1 kB / 0.9668 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.6913, allocations: 25.12 kB / 0.9668 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.6921, allocations: 426.8 kB / 0.9672 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.6924, allocations: 224.9 kB / 0.9675 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.6928, allocations: 348.5 kB / 0.9678 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009213/0.6937, allocations: 0.7357 MB / 0.9685 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6937, allocations: 0 / 0.9685 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6937, allocations: 1.344 kB / 0.9685 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.6937, allocations: 0 / 0.9685 GB, free: 14.31 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001455/0.6952, allocations: 0.8488 MB / 0.9693 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6953, allocations: 13.59 kB / 0.9694 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.6967, allocations: 193.1 kB / 0.9695 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.6975, allocations: 0.4909 MB / 0.97 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.6976, allocations: 37.5 kB / 0.97 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.6977, allocations: 55.52 kB / 0.9701 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.699, allocations: 0.8234 MB / 0.9709 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.699, allocations: 14.83 kB / 0.9709 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.6991, allocations: 18.66 kB / 0.9709 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.6993, allocations: 62.95 kB / 0.971 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.7002, allocations: 0.5749 MB / 0.9716 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004786/0.705, allocations: 4.593 MB / 0.976 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.7055, allocations: 296.5 kB / 0.9763 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.7059, allocations: 222.2 kB / 0.9765 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.7059, allocations: 3.719 kB / 0.9765 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.706, allocations: 37.03 kB / 0.9766 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.706, allocations: 0 / 0.9766 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.006196/0.7122, allocations: 2.659 MB / 0.9792 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.7122, allocations: 56.62 kB / 0.9792 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/0.7128, allocations: 464.5 kB / 0.9797 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.7129, allocations: 31.14 kB / 0.9797 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.7131, allocations: 344.5 kB / 0.98 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.7132, allocations: 144.2 kB / 0.9802 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.7133, allocations: 50.33 kB / 0.9802 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7134, allocations: 371.5 kB / 0.9806 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.7138, allocations: 239.4 kB / 0.9808 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.7143, allocations: 407.8 kB / 0.9812 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008912/0.7152, allocations: 0.678 MB / 0.9819 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7152, allocations: 0 / 0.9819 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001711/0.7169, allocations: 0.9249 MB / 0.9828 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.717, allocations: 8 kB / 0.9828 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.717, allocations: 4 kB / 0.9828 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007959/0.7178, allocations: 222.8 kB / 0.983 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.7183, allocations: 119.8 kB / 0.9831 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/0.7231, allocations: 4.942 MB / 0.9879 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.7237, allocations: 27.97 kB / 0.9879 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.7237, allocations: 24 kB / 0.988 GB, free: 12.94 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.7241, allocations: 221.6 kB / 0.9882 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.7242, allocations: 59.34 kB / 0.9882 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.7258, allocations: 0.7697 MB / 0.989 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7258, allocations: 4 kB / 0.989 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7258, allocations: 4 kB / 0.989 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7258, allocations: 4 kB / 0.989 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.7283, allocations: 1.498 MB / 0.9905 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7283, allocations: 7.938 kB / 0.9905 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.7287, allocations: 71.88 kB / 0.9905 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/0.7294, allocations: 202.6 kB / 0.9907 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.7294, allocations: 8 kB / 0.9907 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/0.734, allocations: 4.873 MB / 0.9955 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.734, allocations: 4.031 kB / 0.9955 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.7359, allocations: 1.155 MB / 0.9966 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.7362, allocations: 168.4 kB / 0.9968 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.7363, allocations: 8.188 kB / 0.9968 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.7367, allocations: 31.97 kB / 0.9968 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7368, allocations: 39.83 kB / 0.9969 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.7368, allocations: 12 kB / 0.9969 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000367/0.7372, allocations: 318.9 kB / 0.9972 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7372, allocations: 4.062 kB / 0.9972 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00076/0.738, allocations: 168 kB / 0.9973 GB, free: 2.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.7381, allocations: 111.2 kB / 0.9975 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.7397, allocations: 1.016 MB / 0.9984 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7398, allocations: 0 / 0.9984 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.7407, allocations: 0.6799 MB / 0.9991 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.7418, allocations: 168.7 kB / 0.9993 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.744, allocations: 1.61 MB / 1.001 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.7446, allocations: 0.9494 MB / 1.002 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.7447, allocations: 43.42 kB / 1.002 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of SimCode: time 3.51e-07/0.7447, allocations: 0 / 1.002 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of Templates: time 0.01786/0.7626, allocations: 14.82 MB / 1.016 GB, free: 15.24 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches