Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001909, allocations: 110.8 kB / 15.99 MB, free: 6.355 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.001793/0.001793, allocations: 195.3 kB / 16.91 MB, free: 6.191 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7423 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 62.56 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3222, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.6221/0.9443, allocations: 20.09 MB / 1.083 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.9553, allocations: 6.383 MB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.9579, allocations: 78 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.9634, allocations: 2.095 MB / 1.092 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.9677, allocations: 1.097 MB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.9715, allocations: 1.165 MB / 1.094 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007904/0.9794, allocations: 4.863 MB / 1.099 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.9902, allocations: 6.768 MB / 1.105 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004601/0.9949, allocations: 2.122 MB / 1.107 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004879/0.9998, allocations: 2.452 MB / 1.11 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/1.001, allocations: 428.8 kB / 1.11 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/1.004, allocations: 1.004 MB / 1.111 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002558/1.007, allocations: 1.664 MB / 1.113 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003929/1.011, allocations: 1.913 MB / 1.115 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009554/1.02, allocations: 5.561 MB / 1.12 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.02, allocations: 1.062 kB / 1.12 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/1.02, allocations: 0 / 1.12 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002565/1.021, allocations: 0 / 1.12 GB, free: 15.14 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01214/1.033, allocations: 3.455 MB / 1.123 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.033, allocations: 10.12 kB / 1.123 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/1.037, allocations: 0.6404 MB / 1.124 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/1.042, allocations: 1.931 MB / 1.126 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/1.042, allocations: 221.6 kB / 1.126 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/1.043, allocations: 297.5 kB / 1.126 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/1.056, allocations: 4.89 MB / 1.131 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/1.056, allocations: 15.03 kB / 1.131 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008556/1.057, allocations: 131.1 kB / 1.131 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005506/1.058, allocations: 227.1 kB / 1.132 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008652/1.067, allocations: 3.756 MB / 1.135 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/1.097, allocations: 21.57 MB / 1.156 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/1.099, allocations: 1.306 MB / 1.158 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/1.101, allocations: 1.05 MB / 1.159 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.101, allocations: 11.44 kB / 1.159 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/1.101, allocations: 52.09 kB / 1.159 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 4.769e-06/1.101, allocations: 0 / 1.159 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02619/1.127, allocations: 8.646 MB / 1.167 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.127, allocations: 66.62 kB / 1.167 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/1.13, allocations: 1.129 MB / 1.168 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/1.13, allocations: 50.05 kB / 1.168 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.131, allocations: 1.303 MB / 1.17 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/1.131, allocations: 483.2 kB / 1.17 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000593/1.132, allocations: 287 kB / 1.17 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/1.132, allocations: 317 kB / 1.171 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/1.133, allocations: 0.9093 MB / 1.172 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/1.135, allocations: 1.326 MB / 1.173 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/1.138, allocations: 2.43 MB / 1.175 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/1.138, allocations: 8 kB / 1.175 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006306/1.144, allocations: 3.464 MB / 1.179 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/1.145, allocations: 16.19 kB / 1.179 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.145, allocations: 12 kB / 1.179 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00329/1.148, allocations: 1.186 MB / 1.18 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009862/1.149, allocations: 251.6 kB / 1.18 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/1.166, allocations: 13.86 MB / 1.194 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.168, allocations: 88.34 kB / 1.194 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/1.168, allocations: 67.98 kB / 1.194 GB, free: 3.203 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0028/1.171, allocations: 1.106 MB / 1.195 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006426/1.172, allocations: 170 kB / 1.195 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/1.178, allocations: 3.169 MB / 1.198 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.178, allocations: 16 kB / 1.198 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.671e-05/1.178, allocations: 15.94 kB / 1.198 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/1.178, allocations: 11.97 kB / 1.198 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.191, allocations: 6.245 MB / 1.204 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/1.192, allocations: 7.984 kB / 1.204 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/1.192, allocations: 143.8 kB / 1.204 GB, free: 8.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/1.195, allocations: 1.087 MB / 1.205 GB, free: 7.055 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/1.195, allocations: 24 kB / 1.205 GB, free: 7.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/1.212, allocations: 13.54 MB / 1.219 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.212, allocations: 4 kB / 1.219 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005906/1.218, allocations: 3.158 MB / 1.222 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.219, allocations: 423 kB / 1.222 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005608/1.22, allocations: 39.92 kB / 1.222 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.221, allocations: 79.89 kB / 1.222 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/1.222, allocations: 120.7 kB / 1.222 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.222, allocations: 44 kB / 1.222 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001305/1.223, allocations: 0.7632 MB / 1.223 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.223, allocations: 0 / 1.223 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002892/1.226, allocations: 0.6641 MB / 1.224 GB, free: 3.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/1.226, allocations: 139.1 kB / 1.224 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006105/1.232, allocations: 3.623 MB / 1.227 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.232, allocations: 3.938 kB / 1.227 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003136/1.236, allocations: 1.955 MB / 1.229 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/1.239, allocations: 0.5128 MB / 1.23 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.252, allocations: 7.164 MB / 1.237 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003567/1.256, allocations: 2.387 MB / 1.239 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/1.256, allocations: 95.42 kB / 1.239 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/1.256, allocations: 4 kB / 1.239 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of Templates: time 0.08729/1.344, allocations: 79.42 MB / 1.317 GB, free: 4.258 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches