Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001436/0.001435, allocations: 105.7 kB / 16.37 MB, free: 6.469 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.001362/0.001362, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 69.5 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3585, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03137/0.3899, allocations: 26.66 MB / 1.045 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.4051, allocations: 8.079 MB / 1.053 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.4083, allocations: 119.4 kB / 1.053 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007467/0.4158, allocations: 2.751 MB / 1.056 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004982/0.4208, allocations: 1.582 MB / 1.057 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.4255, allocations: 1.677 MB / 1.059 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007806/0.4333, allocations: 6.146 MB / 1.065 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008279/0.4416, allocations: 7.32 MB / 1.072 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.4459, allocations: 2.574 MB / 1.074 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.548/0.9939, allocations: 2.82 MB / 1.077 GB, free: 26.6 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002678/0.9967, allocations: 0.5088 MB / 1.078 GB, free: 26.6 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/1.002, allocations: 1.285 MB / 1.079 GB, free: 26.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005441/1.007, allocations: 2.049 MB / 1.081 GB, free: 26.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/1.018, allocations: 2.381 MB / 1.083 GB, free: 26.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01894/1.037, allocations: 8.058 MB / 1.091 GB, free: 25.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.037, allocations: 0.7812 kB / 1.091 GB, free: 25.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.196e-06/1.037, allocations: 1.156 kB / 1.091 GB, free: 25.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005197/1.038, allocations: 0.6562 kB / 1.091 GB, free: 25.41 MB / 0.8419 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.02448/1.062, allocations: 4.226 MB / 1.095 GB, free: 23.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.062, allocations: 15.17 kB / 1.095 GB, free: 23.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007989/1.07, allocations: 0.7957 MB / 1.096 GB, free: 23.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/1.08, allocations: 2.569 MB / 1.099 GB, free: 23.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005724/1.081, allocations: 280.4 kB / 1.099 GB, free: 23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003589/1.085, allocations: 380.9 kB / 1.099 GB, free: 23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/1.107, allocations: 5.988 MB / 1.105 GB, free: 21.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/1.108, allocations: 24.72 kB / 1.105 GB, free: 21.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000779/1.108, allocations: 161.6 kB / 1.105 GB, free: 21.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007365/1.109, allocations: 280.2 kB / 1.105 GB, free: 21.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.121, allocations: 4.523 MB / 1.11 GB, free: 19.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03468/1.156, allocations: 27.46 MB / 1.137 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/1.158, allocations: 1.124 MB / 1.138 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.159, allocations: 1.024 MB / 1.139 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/1.16, allocations: 15.06 kB / 1.139 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/1.16, allocations: 44.81 kB / 1.139 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 3.256e-06/1.16, allocations: 3.938 kB / 1.139 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.02435/1.184, allocations: 9.656 MB / 1.148 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/1.184, allocations: 70.19 kB / 1.148 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/1.187, allocations: 1.488 MB / 1.15 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.188, allocations: 51.83 kB / 1.15 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.189, allocations: 1.672 MB / 1.151 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/1.19, allocations: 470.6 kB / 1.152 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/1.19, allocations: 327.6 kB / 1.152 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.191, allocations: 305.1 kB / 1.152 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.192, allocations: 0.9169 MB / 1.153 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/1.194, allocations: 1.463 MB / 1.155 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/1.197, allocations: 2.547 MB / 1.157 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/1.197, allocations: 4.812 kB / 1.157 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005928/1.203, allocations: 3.281 MB / 1.161 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.203, allocations: 19.66 kB / 1.161 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/1.203, allocations: 21.11 kB / 1.161 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/1.205, allocations: 0.7441 MB / 1.161 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.207, allocations: 384.4 kB / 1.162 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/1.223, allocations: 17.04 MB / 1.178 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.224, allocations: 101.6 kB / 1.178 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/1.225, allocations: 81.83 kB / 1.178 GB, free: 13.62 MB / 0.8887 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.002516/1.227, allocations: 1.302 MB / 1.18 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/1.228, allocations: 198.2 kB / 1.18 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/1.233, allocations: 2.79 MB / 1.183 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.233, allocations: 15.98 kB / 1.183 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.233, allocations: 8 kB / 1.183 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.233, allocations: 3.984 kB / 1.183 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.244, allocations: 6.215 MB / 1.189 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.244, allocations: 8 kB / 1.189 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.245, allocations: 230 kB / 1.189 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/1.247, allocations: 0.6703 MB / 1.19 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/1.247, allocations: 39.92 kB / 1.19 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/1.264, allocations: 16.78 MB / 1.206 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.264, allocations: 8.062 kB / 1.206 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007132/1.271, allocations: 4.006 MB / 1.21 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.272, allocations: 457.7 kB / 1.21 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/1.273, allocations: 32 kB / 1.21 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000967/1.274, allocations: 91.77 kB / 1.211 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/1.274, allocations: 112.3 kB / 1.211 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/1.274, allocations: 40 kB / 1.211 GB, free: 12.63 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001543/1.276, allocations: 0.9981 MB / 1.212 GB, free: 11.64 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.72e-07/1.276, allocations: 0 / 1.212 GB, free: 11.64 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002733/1.279, allocations: 0.6891 MB / 1.212 GB, free: 10.95 MB / 0.92 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.0002789/1.279, allocations: 150.2 kB / 1.212 GB, free: 10.81 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005327/1.284, allocations: 3.522 MB / 1.216 GB, free: 7.242 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.284, allocations: 0 / 1.216 GB, free: 7.242 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/1.287, allocations: 2.305 MB / 1.218 GB, free: 4.855 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/1.29, allocations: 0.6659 MB / 1.219 GB, free: 4.223 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.302, allocations: 6.439 MB / 1.225 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00298/1.305, allocations: 2.674 MB / 1.228 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001654/1.306, allocations: 481.4 kB / 1.228 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.307, allocations: 119.4 kB / 1.228 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of SimCode: time 1.072e-06/1.307, allocations: 0 / 1.228 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of Templates: time 0.06154/1.368, allocations: 33.64 MB / 1.261 GB, free: 9.391 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches