Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.007273/0.007273, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001627/0.001627, allocations: 195 kB / 16.67 MB, free: 5.934 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8983, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03427/0.9327, allocations: 26.66 MB / 1.114 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.9517, allocations: 8.077 MB / 1.122 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005714/0.9574, allocations: 119.8 kB / 1.122 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009085/0.9666, allocations: 2.762 MB / 1.125 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007325/0.9739, allocations: 1.67 MB / 1.126 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006369/0.9803, allocations: 1.667 MB / 1.128 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01362/0.994, allocations: 6.161 MB / 1.134 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/1.007, allocations: 7.322 MB / 1.141 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007264/1.014, allocations: 2.619 MB / 1.144 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007222/1.021, allocations: 2.832 MB / 1.146 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002836/1.024, allocations: 0.5079 MB / 1.147 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006166/1.03, allocations: 1.284 MB / 1.148 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005251/1.036, allocations: 2.048 MB / 1.15 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0112/1.047, allocations: 2.381 MB / 1.152 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01703/1.064, allocations: 8.079 MB / 1.16 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/1.064, allocations: 0 / 1.16 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.048e-06/1.064, allocations: 0 / 1.16 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003368/1.064, allocations: 0 / 1.16 GB, free: 11.05 MB / 0.9044 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.01844/1.083, allocations: 4.34 MB / 1.165 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.083, allocations: 8.781 kB / 1.165 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/1.089, allocations: 0.8169 MB / 1.165 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007528/1.097, allocations: 2.587 MB / 1.168 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/1.097, allocations: 273.4 kB / 1.168 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/1.098, allocations: 378.7 kB / 1.169 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/1.113, allocations: 6.002 MB / 1.174 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/1.113, allocations: 15.64 kB / 1.174 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005636/1.113, allocations: 158.4 kB / 1.175 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006542/1.114, allocations: 288.4 kB / 1.175 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/1.125, allocations: 4.523 MB / 1.179 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04092/1.166, allocations: 27.5 MB / 1.206 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/1.168, allocations: 1.115 MB / 1.207 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/1.169, allocations: 1.011 MB / 1.208 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/1.169, allocations: 13 kB / 1.208 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/1.169, allocations: 47.56 kB / 1.208 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 4.098e-06/1.17, allocations: 7.938 kB / 1.208 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02409/1.194, allocations: 9.73 MB / 1.218 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.194, allocations: 64.72 kB / 1.218 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.196, allocations: 1.494 MB / 1.219 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.196, allocations: 49.7 kB / 1.219 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.197, allocations: 1.719 MB / 1.221 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/1.198, allocations: 491.8 kB / 1.222 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005742/1.198, allocations: 327.4 kB / 1.222 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.198, allocations: 309.1 kB / 1.222 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.2, allocations: 0.9174 MB / 1.223 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/1.202, allocations: 1.459 MB / 1.224 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/1.205, allocations: 2.554 MB / 1.227 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.205, allocations: 4 kB / 1.227 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006196/1.211, allocations: 3.298 MB / 1.23 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/1.211, allocations: 12 kB / 1.23 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.211, allocations: 16 kB / 1.23 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/1.214, allocations: 0.7418 MB / 1.231 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.216, allocations: 387.4 kB / 1.231 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/1.233, allocations: 17.05 MB / 1.248 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.235, allocations: 95.91 kB / 1.248 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.236, allocations: 79.92 kB / 1.248 GB, free: 5.07 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002561/1.238, allocations: 1.309 MB / 1.249 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/1.239, allocations: 214.7 kB / 1.25 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/1.244, allocations: 2.788 MB / 1.252 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.244, allocations: 12 kB / 1.252 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/1.244, allocations: 4 kB / 1.252 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.244, allocations: 7.984 kB / 1.252 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.257, allocations: 6.217 MB / 1.258 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.257, allocations: 4 kB / 1.258 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.258, allocations: 235.6 kB / 1.259 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/1.26, allocations: 0.6752 MB / 1.259 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/1.261, allocations: 32 kB / 1.259 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/1.276, allocations: 16.8 MB / 1.276 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.277, allocations: 8 kB / 1.276 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006817/1.283, allocations: 4.005 MB / 1.28 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.285, allocations: 471.7 kB / 1.28 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006114/1.285, allocations: 35.92 kB / 1.28 GB, free: 2.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1.287, allocations: 79.91 kB / 1.28 GB, free: 2.559 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/1.287, allocations: 120.7 kB / 1.28 GB, free: 2.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.287, allocations: 39.98 kB / 1.28 GB, free: 2.402 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001798/1.289, allocations: 0.9942 MB / 1.281 GB, free: 1.418 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.289, allocations: 0 / 1.281 GB, free: 1.418 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003108/1.292, allocations: 0.6874 MB / 1.282 GB, free: 0.7305 MB / 1.014 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0004054/1.293, allocations: 158 kB / 1.282 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005948/1.299, allocations: 3.523 MB / 1.286 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.299, allocations: 4 kB / 1.286 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003617/1.302, allocations: 2.303 MB / 1.288 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/1.306, allocations: 0.6698 MB / 1.288 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.32, allocations: 6.547 MB / 1.295 GB, free: 3.211 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.323, allocations: 2.664 MB / 1.297 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001585/1.325, allocations: 481.4 kB / 1.298 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/1.325, allocations: 127.5 kB / 1.298 GB, free: 15.91 MB / 1.045 GB Notification: Performance of SimCode: time 9.71e-07/1.325, allocations: 4 kB / 1.298 GB, free: 15.91 MB / 1.045 GB Notification: Performance of Templates: time 0.06021/1.386, allocations: 34.13 MB / 1.331 GB, free: 14.28 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches